]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- --as-needed in gcc friendly form inside ldflags only
authorMariusz Mazur <mmazur@pld-linux.org>
Sat, 16 Apr 2005 21:14:38 +0000 (21:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.204

rpm.macros

index 897e4f708139c79cc808c3c9460efe2162db1196..7535ce41ccb8d6004c740b244c90e5082643e255 100644 (file)
@@ -19,9 +19,8 @@
 %debuginfocflags       %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -ggdb}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
 
 %debugcflags   -O0 -g -Wall
-%rpmcflags     %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags} -Wl,--as-needed
-%rpmcxxflags   %{rpmcflags} -fvisibility-inlines-hidden
-%rpmldflags --as-needed
+%rpmcflags     %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags} %rpmcxxflags      %{rpmcflags} -fvisibility-inlines-hidden
+%rpmldflags            -Wl,--as-needed
 
 # kernel compiler
 %kgcc          gcc
This page took 0.049335 seconds and 4 git commands to generate.