Only enable frame pointers for approved arches
This commit is contained in:
parent
b5c64f585e
commit
3443c98887
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
-Copt-level=%rustflags_opt_level
|
||||
-Cdebuginfo=%rustflags_debuginfo
|
||||
-Ccodegen-units=%rustflags_codegen_units
|
||||
%{?_include_frame_pointers:-Cforce-frame-pointers=yes}
|
||||
%{expr:0%{?_include_frame_pointers} && ("%{_arch}" != "ppc64le" && "%{_arch}" != "s390x" && "%{_arch}" != "i386") ? "-Cforce-frame-pointers=yes" : ""}
|
||||
-Clink-arg=-Wl,-z,relro
|
||||
-Clink-arg=-Wl,-z,now
|
||||
%{?_package_note_file:-Clink-arg=-Wl,-dT,%{_package_note_file}}
|
||||
|
|
Loading…
Reference in a new issue