From: Paweł Sikora Date: Sat, 16 Apr 2005 09:08:09 +0000 (+0000) Subject: - rpmcflags += -Wl,--as-needed X-Git-Tag: auto/th/rpm-4_4_1-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm.git;a=commitdiff_plain;h=e421d718325ca36e131d01ceca13d0417bb8ef8c - rpmcflags += -Wl,--as-needed Changed files: rpm.macros -> 1.202 --- diff --git a/rpm.macros b/rpm.macros index 1c28034..1f8a602 100644 --- a/rpm.macros +++ b/rpm.macros @@ -19,7 +19,7 @@ %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} +%rpmcflags %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags} -Wl,--as-needed %rpmcxxflags %{rpmcflags} -fvisibility-inlines-hidden %rpmldflags %{nil}