redhat-config-*: Use + to append rather than %rename, to protect against
multiple -specs= ending up in the command line. (#892837)
This commit is contained in:
parent
0466a24ccb
commit
4a42acd940
@ -1,4 +1,2 @@
|
||||
%rename cc1_options rh_cc1_options_old
|
||||
|
||||
*cc1_options:
|
||||
%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}} %(rh_cc1_options_old)
|
||||
+ %{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}
|
||||
|
@ -1,9 +1,5 @@
|
||||
%rename self_spec rh_self_spec_old
|
||||
|
||||
*self_spec:
|
||||
%{!shared:-pie} %(rh_self_spec_old)
|
||||
|
||||
%rename link rh_link_old
|
||||
+ %{!shared:-pie}
|
||||
|
||||
*link:
|
||||
-z now %(rh_link_old)
|
||||
+ -z now
|
||||
|
Loading…
Reference in New Issue
Block a user