Skip to contentSkip to conversation

use CFLAGS of rpm env in rpm build

PATCH Chmouel Boudjnah 1 participant 1 message Jun 12, 2001

lore
Share & tools
lore
#0 lore raw

Index: hotplug.spec
=================================RCS file: /cvsroot/linux-hotplug/admin/hotplug.spec,v retrieving revision 1.12

hotplug.spec +1 -1
diff -u -u -r1.12 hotplug.spec
@@ -34,7 +34,7 @@
 
 %build
 # Build any compiled programs in the source tree.
-make all
+make all CFLAGS="%optflags"
 
 %install
 make prefix=${RPM_BUILD_ROOT} install

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel