summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorBrian Paul <brianp@users.sourceforge.net>2009-03-23 14:04:57 +0000
committerBrian Paul <brianp@users.sourceforge.net>2009-03-23 14:04:57 +0000
commitcd636d7c421c0033e7bdbda072e2f0208bbc1f81 (patch)
tree2fc052d4295a29c16c2816e212b29c9dd7e4b4e9 /make
parentd43bcafd0477d365cea23e78998512a9e326dc2f (diff)
replace -Wmissing-prototypes -Wmissing-declarations with -Wextra for MacOS
Submitted by Vinson Lee <vlee@vmware.com>
Diffstat (limited to 'make')
-rw-r--r--make/common.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/common.mak b/make/common.mak
index 793d95f..19d3dcb 100644
--- a/make/common.mak
+++ b/make/common.mak
@@ -174,7 +174,7 @@ _INC=\
OPT:= # Optimization options
ifeq ($(PLATFORM), Unix)
_OPT=\
- -O -fno-unroll-all-loops \
+ -fno-unroll-all-loops \
$(OPT)
endif # Unix
ifeq ($(PLATFORM), BeOS)
@@ -202,7 +202,7 @@ endif # BeOS
ifeq ($(PLATFORM), MacOSX)
_WARN=\
-Wall \
- -Wmissing-prototypes -Wmissing-declarations \
+ -Wextra \
$(WARN)
endif # BeOS
LIBDIR:= # -L options for specifying library directories