1 --- ./macros.in~ 2005-10-30 16:24:30.000000000 +0200
2 +++ ./macros.in 2005-10-30 16:24:32.000000000 +0200
6 # Path to top of build area.
7 -%_topdir %{_usrsrc}/redhat
8 +%_topdir %(echo $HOME)/rpm
10 # The path to the unzip executable (legacy, use %{__unzip} instead).
12 @@ -1276,5 +1276,18 @@
14 %find_lang @RPMCONFIGDIR@/find-lang.sh %{buildroot}
17 +%_enable_debug_packages 1
19 +#-----------------------------------------------------------------
20 +# CFLAGS and LDFLAGS used to build
22 +%debuginfocflags %{expand:%%define __dic_%{?_enable_debug_packages} 1}%{?__dic_1: -ggdb}%{expand:%%undefine __dic_%{?_enable_debug_packages}}
24 +%debugcflags -O0 -g -Wall
25 +%rpmcflags %{?debug:%debugcflags}%{!?debug:%optflags}%{?debuginfocflags}
26 +%rpmcxxflags %{rpmcflags}