From 309c4410fa5074259978b4b109a06a7b8bb545ca Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Sat, 18 May 2013 20:30:30 +0000 Subject: [PATCH] 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 --- build/NWGNUenvironment.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.47.2