----------  Message transmis  ----------

This is a quite old message that get lost during release rush. More than a 
simple 'plese help me build this package', this is question about rpm 
behaviour.

----------  Message transmis  ----------

Subject: drip compiling problem
Date: Wed, 28 Aug 2002 15:28:53 +0200
From: Guillaume Rousse <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

I've found the cause of problems building drip

The first output result (output.ok) from manual compilation, while the second
result from rpm building compilation (output.ko). The only difference comes
from use of -fPIC -DPIC in second case.

My question is how can those flags slips in, whereas i only use manual
configure && make calls in spec files (aka not macros %configure && %make),
without exporting any env var ? And how can i prevent them from getting there
?
--
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

-------------------------------------------------------


--
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

-------------------------------------------------------


-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html
--- output.ok	2002-08-28 15:17:53.000000000 +0200
+++ output.ko	2002-08-28 15:17:55.000000000 +0200
@@ -1,3 +1,3 @@
 /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DARCH_X86 -funroll-all-loops -ffast-math -fexpensive-optimizations -fschedule-insns2 -fomit-frame-pointer  -g3 -ggdb3 -finstrument-functions `avifile-config --cflags` `glib-config --cflags` -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_LARGEFILE64 -pthread -I/usr/local/include -I/usr/include  `gdk-pixbuf-config --cflags` -I../libspu/ -g -O2 -c -o libencoder_la-swscale.lo `test -f 'swscale.cpp' || echo './'`swscale.cpp
 rm -f .libs/libencoder_la-swscale.lo
-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DARCH_X86 -funroll-all-loops -ffast-math -fexpensive-optimizations -fschedule-insns2 -fomit-frame-pointer -g3 -ggdb3 -finstrument-functions -I/usr/include/avifile -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_LARGEFILE64 -pthread -I/usr/local/include -I/usr/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../libspu/ -g -O2 -c swscale.cpp -MT libencoder_la-swscale.lo -MD -MP -MF .deps/libencoder_la-swscale.TPlo -o .libs/libencoder_la-swscale.lo
+g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DARCH_X86 -funroll-all-loops -ffast-math -fexpensive-optimizations -fschedule-insns2 -fomit-frame-pointer -g3 -ggdb3 -finstrument-functions -I/usr/include/avifile -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_LARGEFILE64 -pthread -I/usr/local/include -I/usr/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../libspu/ -g -O2 -c swscale.cpp -MT libencoder_la-swscale.lo -MD -MP -MF .deps/libencoder_la-swscale.TPlo  -fPIC -DPIC -o .libs/libencoder_la-swscale.lo

Reply via email to