]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- don't add extra space to rpmcflags if no debug packages
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 19 Jul 2004 14:51:51 +0000 (14:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.159

rpm.macros

index d5bd1a31788bf2af7f1dfc57c6fa36e5a075eab8..0ab242df825e790670219ca3856047351230044e 100644 (file)
 #-----------------------------------------------------------------
 # CFLAGS and LDFLAGS used to build
 
-%debuginfocflags        %{expand:%%define dic_%{_enable_debug_packages} %{_enable_debug_packages}}%{?dic_1:-ggdb}%{expand:%%undefine dic_%{_enable_debug_packages}}
+%debuginfocflags       %{expand:%%define dic_%{_enable_debug_packages} %{_enable_debug_packages}}%{?dic_1: -ggdb}%{expand:%%undefine dic_%{_enable_debug_packages}}
 
 %debugcflags   -O0 -g -Wall
-%rpmcflags     %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags: %debuginfocflags}
+%rpmcflags     %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}
 %rpmldflags    %{nil}
 
 # kernel compiler
This page took 0.191315 seconds and 4 git commands to generate.