summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2011-03-02 16:21:26 +0000
committerGuenter Knauf <fuankg@apache.org>2011-03-02 16:21:26 +0000
commit46e15311ca84f97de8699a1253696e4ce802ec7f (patch)
tree09c72d1b4e502f3bb1b42ce2498d6ca0e7a50efd
parent0a6cf6e9f85ff45ecb0543c813d83895bc29113d (diff)
downloadapr-46e15311ca84f97de8699a1253696e4ce802ec7f.tar.gz
Added require prototypes conditionally to CFLAGS for NetWare.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@1076277 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build/NWGNUenvironment.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc
index fd910a278..27c533c69 100644
--- a/build/NWGNUenvironment.inc
+++ b/build/NWGNUenvironment.inc
@@ -152,6 +152,10 @@ WIN_CFLAGS += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib
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