aboutsummaryrefslogtreecommitdiffstats
path: root/mk/Variables.mk
diff options
context:
space:
mode:
authorkraxel <kraxel>2006-01-31 14:05:09 +0000
committerkraxel <kraxel>2006-01-31 14:05:09 +0000
commit204520ac1d70a7d6c6084c2ec98560d580f38fa2 (patch)
tree5fef0b342a450412e74c32de62e45423f987402d /mk/Variables.mk
parentc28bc1bc12c466c58a71eeed8f2d38e46008ee2f (diff)
downloadxenwatch-204520ac1d70a7d6c6084c2ec98560d580f38fa2.tar.gz
- lots of mdns updates.
Diffstat (limited to 'mk/Variables.mk')
-rw-r--r--mk/Variables.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/Variables.mk b/mk/Variables.mk
index 930f824..69486f3 100644
--- a/mk/Variables.mk
+++ b/mk/Variables.mk
@@ -29,9 +29,11 @@ INSTALL_DATA := $(INSTALL) -m 644
INSTALL_DIR := $(INSTALL) -d
# cflags
-CFLAGS ?= -g -O2
-CFLAGS += -Wall -Wmissing-prototypes -Wstrict-prototypes \
- -Wpointer-arith -Wunused
+CFLAGS ?= -g -O2
+CXXFLAGS ?= $(CFLAGS)
+CFLAGS += -Wall -Wmissing-prototypes -Wstrict-prototypes \
+ -Wpointer-arith -Wunused
+CXXFLAGS += -Wall -Wpointer-arith -Wunused
# add /usr/local to the search path if something is in there ...
ifneq ($(wildcard /usr/local/include/*.h),)