summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68>2011-03-02 16:21:26 +0000
committerfuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68>2011-03-02 16:21:26 +0000
commit9cd935c3b228ad50facf2dde2e408956957f16e4 (patch)
tree09c72d1b4e502f3bb1b42ce2498d6ca0e7a50efd
parent2ea47ac76357e9f33cd9a67a1294de27c8f80dcd (diff)
downloadlibapr-9cd935c3b228ad50facf2dde2e408956957f16e4.tar.gz
Added require prototypes conditionally to CFLAGS for NetWare.
git-svn-id: http://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