summaryrefslogtreecommitdiff
path: root/build/NWGNUenvironment.inc
diff options
context:
space:
mode:
Diffstat (limited to 'build/NWGNUenvironment.inc')
-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