SPECS: libdwarf.spec - fixed build with --debug

qboosh qboosh at pld-linux.org
Sat Aug 4 11:16:35 CEST 2007


Author: qboosh                       Date: Sat Aug  4 09:16:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed build with --debug

---- Files affected:
SPECS:
   libdwarf.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/libdwarf.spec
diff -u SPECS/libdwarf.spec:1.3 SPECS/libdwarf.spec:1.4
--- SPECS/libdwarf.spec:1.3	Sat Aug  4 11:09:57 2007
+++ SPECS/libdwarf.spec	Sat Aug  4 11:16:29 2007
@@ -14,8 +14,6 @@
 BuildRequires:	elfutils-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		specflags	-fPIC
-
 %description
 Library to read DWARF debug information of an ELF object.
 
@@ -64,7 +62,8 @@
 
 %build
 cd libdwarf
-%configure
+%configure \
+	CFLAGS="%{rpmcflags} -fPIC"
 %{__make} libdwarf.a libdwarf.so
 cd ..
 cd dwarfdump
@@ -114,6 +113,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/08/04 09:16:29  qboosh
+- fixed build with --debug
+
 Revision 1.3  2007/08/04 09:09:57  qboosh
 - pl, unified
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libdwarf.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list