[arch-ports] [amd64] neverball works

Andreas Radke a.radke at arcor.de
Fri May 5 19:55:59 EDT 2006


Am Fri, 5 May 2006 23:07:12 +0200
schrieb Ivan Stankovic <pokemon at 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




More information about the arch-ports mailing list