summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-26 12:10:21 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-26 12:10:21 +0000
commit3b262f2d7e5d21bef6bb8bf540947a65f4ef93c2 (patch)
treeaa084c6d3cf248447134fdb2df5828385f5d1684 /test
parenta0839682d5ef8fa36aea3288a754fbb69de091fa (diff)
Doh! Tests were not being compiled with warnings and optimization
Diffstat (limited to 'test')
-rw-r--r--test/Rules.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index 05f44c780..759d0771b 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -48,8 +48,8 @@ ifeq ($(DODEBUG),true)
GLIBC_LDFLAGS =-Wl,-warn-common
STRIPTOOL =/bin/true -Since_we_are_debugging
else
- CFLAGS +=-fomit-frame-pointer
- GLIBC_CFLAGS +=-fomit-frame-pointer
+ CFLAGS +=$(WARNINGS) $(OPTIMIZATION) -fomit-frame-pointer
+ GLIBC_CFLAGS +=$(WARNINGS) $(OPTIMIZATION) -fomit-frame-pointer
LDFLAGS =-s -Wl,-warn-common
GLIBC_LDFLAGS =-s -Wl,-warn-common
STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG)