4 test-stackprotector-all \
6 test-volatile-register-var \
13 test-libelf-getphdrnum \
23 BUILD
= $(CC
) -o
$(OUTPUT
)$@
$@.c
25 ###############################
30 test-stackprotector-all
:
31 $(BUILD
) -Werror
-fstack-protector-all
34 $(BUILD
) -Werror
-fstack-protector
36 test-volatile-register-var
:
37 $(BUILD
) -Werror
-Wvolatile-register-var
40 $(BUILD
) -O2
-Werror
-D_FORTIFY_SOURCE
=2
57 test-libelf-getphdrnum
:
64 $(BUILD
) -lunwind
-lunwind-x86_64
-lelf
70 $(BUILD
) -I
/usr
/include/slang
-lslang
74 ###############################