diff options
Diffstat (limited to 'macros.in')
-rw-r--r-- | macros.in | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -222,10 +222,12 @@ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} - # ---- compiler flags. %_hardening_gcc_cflags -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -%_hardening_clang_cflags --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg +%_hardening_clang_cflags --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg %_hardening_cflags %{expand:%%{_hardening_%{toolchain}_cflags}} -%_hardening_ldflags %[ "%{toolchain}" == "gcc" ? "-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" : "" ] +%_hardening_gcc_ldflags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld +%_hardening_clang_ldflags --config=/usr/lib/rpm/redhat/redhat-hardened-clang-ld.cfg +%_hardening_ldflags %{expand:%%{_hardening_%{toolchain}_ldflags}} # Use "%undefine _hardened_build" to disable. %_hardened_build 1 |