On Sat, 6 May 2006 01:55:59 +0200 Andreas Radke <a.radke@arcor.de> wrote:
Am Fri, 5 May 2006 23:07:12 +0200 schrieb Ivan Stankovic <pokemon@fly.srk.fer.hr>:
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.
They set more optimized CFLAGS. So we cannot use $CARCH. Your PKGBUILD looks ok.
AndyRTR
My point is that you should be able to say -march=$CARCH and if CARCH=x86_64, you can't do that. Jason