blob: ec99dcd36af7207edf82cee2063e9468546919b3 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001Index: b/gen-cc
2===================================================================
3--- a/gen-cc
4+++ b/gen-cc
5@@ -15,6 +15,11 @@
6 shift
7 shift
8
9+ echo $CC \$MODE -o \$BASE.o \$BASE.$EXT \\
10+ -MMD -MF \$DEPFILE -MP -MQ \$BASE.o \\
11+ $CPPFLAGS \\
12+ $CFLAGS \\
13+ "\$@"
14 $CC \$MODE -o \$BASE.o \$BASE.$EXT \\
15 -MMD -MF \$DEPFILE -MP -MQ \$BASE.o \\
16 $CPPFLAGS \\
17Index: b/wvrules-posix.mk
18===================================================================
19--- a/wvrules-posix.mk
20+++ b/wvrules-posix.mk
21@@ -35,11 +35,6 @@
22 # Default compiler we use for linking
23 WVLINK_CC = $(CXX)
24
25-ifneq ("$(enable_optimization)", "no")
26- CXXFLAGS+=-O2
27- CFLAGS+=-O2
28-endif
29-
30 ifneq ("$(enable_warnings)", "no")
31 CXXFLAGS+=-Wall -Woverloaded-virtual
32 CFLAGS+=-Wall