It is very rare for a packager to set up a package in such a way that
the arch flag will get passed through. Only some speed-critical
packages get tweaked in this way (glibc, for one).
On Sat, 05 Jun 2004 19:36:32 -0400, William M. Quarles
<walrus(a)bellsouth.net> wrote:
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
--
fedora-devel-list mailing list
fedora-devel-list(a)redhat.com
http://www.redhat.com/mailman/listinfo/fedora-devel-list
--
Crutcher