History

configure: Split adding of CFLAGS and CPPFLAGS for hardened toolchain

Diego Biurrun committed 12 years ago

Commit 2d589271 parent 00431bf1 file · +3 −2Browse files

Unified · Split

configure+3−2
@@ -2553,8 +2553,9 @@ case "$toolchain" in · 2552 unmodified lines
2553 add_ldflags -fprofile-arcs -ftest-coverage2553 add_ldflags -fprofile-arcs -ftest-coverage
2554 ;;2554 ;;
2555 hardened)2555 hardened)
2556 add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all2556 add_cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
2557 add_ldflags -Wl,-z,relro -Wl,-z,now2557 add_cflags -fno-strict-overflow -fstack-protector-all
2558 add_ldflags -Wl,-z,relro -Wl,-z,now
2558 ;;2559 ;;
2559 ?*)2560 ?*)
2560 die "Unknown toolchain $toolchain"2561 die "Unknown toolchain $toolchain"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t