Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=499880
--- Comment #14 from Ville Skyttä <ville.skytta(a)iki.fi> 2009-07-16 10:39:48 EDT
---
No, it's still not fixed. Again, please see comment 9: you have dropped the
part of my original patch that actually fixes the problem of CFLAGS being
discarded:
python_disable_message="Disable Python binding."
+ _SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $PYTHON_CFLAGS"
It's easy to verify from the build logs whether $RPM_OPT_FLAGS are in use, for
example the first gcc line from
http://koji.fedoraproject.org/koji/getfile?taskID=1477780&name=build.log:
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/tomoe -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DSYSCONFDIR=\""/etc"\"
-DDATADIR=\""/usr/share"\"
-DTOMOEGTKDATADIR=\""/usr/share"/tomoe-gtk\" -c
-o tomoe-canvas.lo tomoe-canvas.c
There are no $RPM_OPT_FLAGS in it. There should be stuff like "-O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector ..."
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.