On Fri, May 05, 2006 at 05:59:09PM -0400, Jason Chu wrote:
On Fri, May 05, 2006 at 11:07:12PM +0200, Ivan Stankovic wrote:
On Fri, May 05, 2006 at 04:27:23PM -0400, Jason Chu wrote:
/bin/sed -i -e 's/CFLAGS= -Wall -O3 -ansi $(shell sdl-config --cflags)/CFLAGS= -Wall -O3 -march=x86-64 -pipe -ansi $(shell sdl-config --cflags)/' Makefile
You should be able to use the $CARCH variable instead of x86-64. Then it'll work in both architectures.
Thanks for pointing this out. But one can't directly change x86-64 to $CARCH since $CARCH=x86_64 (note the underscore). Anyway, here's the updated PKGBUILD.
That's strange. CARCH is supposed to be the value put into -march... I wonder why you'd choose a different value...
Here's what I have in my unmodified makepkg.conf: $ cat /etc/makepkg.conf | grep CARCH export CARCH="x86_64" -- Ivan Stankovic, ivan.stankovic@fer.hr