summaryrefslogtreecommitdiff
path: root/build/NWGNUenvironment.inc
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2010-09-01 16:17:23 +0000
committerGuenter Knauf <fuankg@apache.org>2010-09-01 16:17:23 +0000
commit973eb55182723f35905d9afaa3db60264eef57dd (patch)
tree8dfa5594115b25230f4fa9d7d9a29dc848274935 /build/NWGNUenvironment.inc
parent62cb0bdaffe5f11d8a112008bc82862ce35efc0f (diff)
downloadhttpd-973eb55182723f35905d9afaa3db60264eef57dd.tar.gz
Added require prototypes conditionally to CFLAGS for NETWare;
added header includes for getting protos. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@991588 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/NWGNUenvironment.inc')
-rw-r--r--build/NWGNUenvironment.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc
index 6b192d0463..b0269b350a 100644
--- a/build/NWGNUenvironment.inc
+++ b/build/NWGNUenvironment.inc
@@ -194,7 +194,11 @@ WIN_CFLAGS += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib
# -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
+
+ifeq "$(REQUIRE_PROTOTYPES)" "1"
+CFLAGS += -r
+endif
# -g generate debugging information
# -O0 level 0 optimizations