summaryrefslogtreecommitdiff
path: root/test/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'test/Rules.mak')
-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)