On Wed, 02 Dec 2009 04:17:50 strogdon wrote: > Hey Francois. I too thought that perhaps the spkg supplied flags would > override any changes with custom flags. However the custom flags seem > to be appended to the spkg provided ones. For example > > with custom CFLAGS > building 'sage.algebras.quatalg.quaternion_algebra_element' extension > gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=opteron - > O2 -pipe -fPIC > > with CFLAGS unset > building 'sage.algebras.quatalg.quaternion_algebra_element' extension > gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -fPIC > > The no-strict-aliasing get's lost! I'll give your suggestion a whirl, > but it will take some time to rebuild things. > I think that may be a scons behaviour. Yes I think I have seen some stuff they do in polybori. That may explain the duplication of a number of flags there. -fno-strict-aliasing disappearance and appearance are strange. I am not a scons specialist but I am guessing it is not set as intended.
Please keep us up to date with the results. Francois -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org