rename _strict_symbol_defs_build to _ld_strict_symbol_defs

It says more where to look and what it is supposed to do.

Acked-by: Florian Festi <ffesti@redhat.com>
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-10 16:23:36 +02:00
parent 9a15f27f34
commit 68e4ff270c
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

6
macros
View File

@ -214,9 +214,9 @@
# Fail linking if there are undefined symbols. Required for proper # Fail linking if there are undefined symbols. Required for proper
# ELF symbol versioning support. Disabled by default. # ELF symbol versioning support. Disabled by default.
# Use "%define _strict_symbol_defs_build 1" to enable. # Use "%define _ld_strict_symbol_defs 1" to enable.
#%_strict_symbol_defs_build 1 #%_ld_strict_symbol_defs 1
%_ld_symbols_flags %{?_strict_symbol_defs_build:-Wl,-z,defs} %_ld_symbols_flags %{?_ld_strict_symbol_defs:-Wl,-z,defs}
%__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} %__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}