Creating RPMs

William M. Quarles walrus at bellsouth.net
Sat Jun 5 23:36:32 UTC 2004


Hi,

I don't know much of anything about creating RPMs from scratch, but I 
was watching the rebuilding of an SRPM on my computer, to which I passed 
the --target=i686 flag, and its compilation lines looked like this

c++ -c   -I./lib/wx/include/gtk-2.4 -I../include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT 
-I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES 
-D__WXGTK__ -DGTK_NO_CHECK_CASTS -D_IODBC_ -O2 -MMD -pthread -Wall -fPIC 
-o tbargtk.o ../src/gtk/tbargtk.cpp

Now -march=i686 is not showing up anywhere in there.  Did the packager 
do something wrong, or is it normal for the flag to not get passed to 
C++ compilation lines during a rebuild?

Thanks,
William





More information about the fedora-devel-list mailing list