|
@@ -25,8 +25,7 @@ FILES= \
|
|
|
test-libunwind \
|
|
|
test-on-exit \
|
|
|
test-stackprotector-all \
|
|
|
- test-stackprotector \
|
|
|
- test-volatile-register-var
|
|
|
+ test-stackprotector
|
|
|
|
|
|
CC := $(CC) -MD
|
|
|
|
|
@@ -37,7 +36,7 @@ BUILD = $(CC) $(LDFLAGS) -o $(OUTPUT)$@ $@.c
|
|
|
###############################
|
|
|
|
|
|
test-all:
|
|
|
- $(BUILD) -Werror -fstack-protector -fstack-protector-all -Wvolatile-register-var -O2 -Werror -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lunwind -lunwind-x86_64 -lelf -laudit -I/usr/include/slang -lslang $(shell pkg-config --libs --cflags gtk+-2.0 2>/dev/null) $(FLAGS_PERL_EMBED) $(FLAGS_PYTHON_EMBED) -DPACKAGE='"perf"' -lbfd -ldl
|
|
|
+ $(BUILD) -Werror -fstack-protector -fstack-protector-all -O2 -Werror -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lunwind -lunwind-x86_64 -lelf -laudit -I/usr/include/slang -lslang $(shell pkg-config --libs --cflags gtk+-2.0 2>/dev/null) $(FLAGS_PERL_EMBED) $(FLAGS_PYTHON_EMBED) -DPACKAGE='"perf"' -lbfd -ldl
|
|
|
|
|
|
test-hello:
|
|
|
$(BUILD)
|
|
@@ -48,9 +47,6 @@ test-stackprotector-all:
|
|
|
test-stackprotector:
|
|
|
$(BUILD) -Werror -fstack-protector
|
|
|
|
|
|
-test-volatile-register-var:
|
|
|
- $(BUILD) -Werror -Wvolatile-register-var
|
|
|
-
|
|
|
test-fortify-source:
|
|
|
$(BUILD) -O2 -Werror -D_FORTIFY_SOURCE=2
|
|
|
|