]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mwccnlm: search directory of referencing file first for #includes.
authorGuenter Knauf <fuankg@apache.org>
Tue, 7 Aug 2012 23:26:01 +0000 (23:26 +0000)
committerGuenter Knauf <fuankg@apache.org>
Tue, 7 Aug 2012 23:26:01 +0000 (23:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1370592 13f79535-47bb-0310-9956-ffa450edef68

build/NWGNUenvironment.inc

index d3fa66050076d0026949649402b524b0c2020edc..e60db9236c6eccac7b3a75fd17bf5017c8541012 100644 (file)
@@ -230,7 +230,7 @@ endif
 # The default flags are as follows:
 #
 # -c                    compile only, no link
-# -nosyspath            treat #include <...> like #include "..."
+# -gccinc               search directory of referencing file first for #includes
 # -Cpp_exceptions off   disable C++ exceptions
 # -RTTI off             disable C++ run-time typing information
 # -align 4              align on 4 byte bounderies
@@ -238,7 +238,7 @@ endif
 # -proc PII             generate code base on Pentium II instruction set
 # -inst mmx             use MMX extensions (Not used)
 
-CFLAGS = -c -nosyspath -Cpp_exceptions off -RTTI off -align 4 -w nocmdline -proc PII
+CFLAGS = -c -w nocmdline -gccinc -Cpp_exceptions off -RTTI off -align 4 -proc PII
 
 ifeq "$(REQUIRE_PROTOTYPES)" "1"
 CFLAGS += -r