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
25532553 add_ldflags -fprofile-arcs -ftest-coverage
25542554 ;;
25552555 hardened)
2556− add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all
2557− add_ldflags -Wl,-z,relro -Wl,-z,now
2556+ add_cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
2557+ add_cflags -fno-strict-overflow -fstack-protector-all
2558+ add_ldflags -Wl,-z,relro -Wl,-z,now
25582559 ;;
25592560 ?*)
25602561 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