]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.macros
debuginfocflags magic is back
[packages/rpm.git] / 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.035892 seconds and 4 git commands to generate.