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