diff options
author | Guenter Knauf <fuankg@apache.org> | 2013-05-18 20:30:30 +0000 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2013-05-18 20:30:30 +0000 |
commit | 309c4410fa5074259978b4b109a06a7b8bb545ca (patch) | |
tree | a9d90cdfcf75a36da9c98bb855a2833e43e21eac | |
parent | 8722268352836367522a7035e1aa626cbbb9f91a (diff) | |
download | httpd-309c4410fa5074259978b4b109a06a7b8bb545ca.tar.gz |
More NetWare build tweaks.
Make use of CFLAGS from environment.
Added default maxerrors value 1 so that the compiler breaks
after 1st error; can be overwritten with CC_MAX_ERRORS var.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@1484176 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | build/NWGNUenvironment.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc index a06cffc082..cc14e479cf 100644 --- a/build/NWGNUenvironment.inc +++ b/build/NWGNUenvironment.inc @@ -229,7 +229,13 @@ 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 -nosyspath -Cpp_exceptions off -RTTI off -align 4 -w nocmdline -proc PII + +ifdef CC_MAX_ERRORS +CFLAGS += -maxerrors $(CC_MAX_ERRORS) +else +CFLAGS += -maxerrors 1 +endif ifeq "$(REQUIRE_PROTOTYPES)" "1" CFLAGS += -r |