Message93701
I am running into a problem related to this. I am attempting to cross
compile extensions but Fedora includes -march in the OPT variable. Since
there is no way to exclude the OPT values the build fails.
It seems that forcing OPT to stay the same is a disservice generally
speaking since as Marien said you potentially get extra conflicting
flags (-O seems like a stand-out since that could mess with gdb).
2.6 and 3.1 say:
if 'CFLAGS' in os.environ:
cflags = opt + ' ' + os.environ['CFLAGS']
ldshared = ldshared + ' ' + os.environ['CFLAGS']
There is no ability to override opt. I'd be willing to put together a
patch to allow opt to be overridden by an environment variable if I
could get some support for this from a core maintainer.
I am also open to other suggestions about how to get around this. I
potentially have time to put into fixing this (or the more general cross
compile issue). |
|
Date |
User |
Action |
Args |
2009-10-07 16:15:50 | lambacck | set | recipients:
+ lambacck, loewis, vaxhacker, nyogtha, marienz, tarek, rpetrov |
2009-10-07 16:15:50 | lambacck | set | messageid: <1254932150.44.0.929384586045.issue969718@psf.upfronthosting.co.za> |
2009-10-07 16:15:48 | lambacck | link | issue969718 messages |
2009-10-07 16:15:48 | lambacck | create | |
|