[arch-ports] [amd64] neverball works

Jason Chu jason at archlinux.org
Fri May 5 20:27:59 EDT 2006


On Sat, 6 May 2006 01:55:59 +0200
Andreas Radke <a.radke at arcor.de> wrote:

> 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

My point is that you should be able to say -march=$CARCH and if
CARCH=x86_64, you can't do that.

Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/arch-ports/attachments/20060505/7c623df1/attachment.pgp>


More information about the arch-ports mailing list