diff --git a/macros b/macros index b900503..a6d89de 100644 --- a/macros +++ b/macros @@ -221,7 +221,7 @@ # https://fedoraproject.org/wiki/Changes/RemoveExcessiveLinking # use "%define _ld_as_needed 1" to enable. #%_ld_as_needed 1 -%_ld_as_needed_flags %{?_as_needed_build:-Wl,--as-needed} +%_ld_as_needed_flags %{?_ld_as_needed:-Wl,--as-needed} %__global_compiler_flags -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches %{_hardened_cflags} %{_annotated_cflags}