use CFLAGS of rpm env in rpm build
Index: hotplug.spec
=================================RCS file: /cvsroot/linux-hotplug/admin/hotplug.spec,v retrieving revision 1.12
hotplug.spec +1 -1
@@ -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