]> git.pld-linux.org Git - packages/rpm.git/commitdiff
debuginfocflags magic is back
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 1 Jun 2004 22:20:28 +0000 (22:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.157

rpm.macros

index 9f055fbacf9a4f833cd799146fa07f982cc86570..ab060ba2c4ce4f568cf1801d3ca1a4e6eb6539ba 100644 (file)
@@ -15,7 +15,7 @@
 #-----------------------------------------------------------------
 # CFLAGS and LDFLAGS used to build
 
-#%debuginfocflags        -ggdb
+%debuginfocflags        %{expand:%%define dic_%{_enable_debug_packages} %{_enable_debug_packages}}%{?dic_0:}%{?dic_1:-ggdb}%{expand:%%undefine dic_%{_enable_debug_packages}}
 
 %debugcflags   -O0 -g -Wall
 %rpmcflags     %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags: %debuginfocflags}
This page took 0.033968 seconds and 4 git commands to generate.