On Apr 10, 2006, at 11:10 AM, Jack Howarth wrote:
Dave,
For the sparky-py fink packages, I have a sparky-py.patch which
patches the Makefile to have ...
-CXX = g++
-CXXFLAGS =
+CXX = g++-3.3
+CXXFLAGS = -O3 -ffast-math -mtune=970 -fPIC -fno-common -Wno-
long-double
CC = gcc
-CFLAGS =
+CFLAGS = -O3 -ffast-math -mtune=970 -fPIC -fno-common
..so I assume I need to handle this in the patchscript with an ifdef
macintel or whatever and have it sed the patch file to change '-
mtune=970'
to '-mtune=i686'.
Either that, or pass CXXFLAGS on the command line, if that works.
By the way, it would seem rather silly to use 'i386'
as Macintel will always have at least a Pentium Pro class cpu if not
higher.
Jack
Sure. The architecture flag %m comes out at i386 because that's what
uname -a gives, but for processor optimization you'd want to use
something different.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel