From: Guenter Knauf Date: Sat, 18 May 2013 20:30:30 +0000 (+0000) Subject: More NetWare build tweaks. X-Git-Tag: 2.0.65~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=309c4410fa5074259978b4b109a06a7b8bb545ca;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc index a06cffc082d..cc14e479cf9 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