Re: need help with bug #178837 (automake)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> On Seg, 2003-02-03 at 16:40, Frank Gevaerts wrote:
> > CFLAGS = -Wall -O3 `freetype-config --cflags` ${SDL_CFLAGS} ${BUMPREF_CFLAGS} `
> >
> > What do I have to change to be able to add -mieee on alpha, preferably
> > from debian/rules, or configure ?
>
> I'd use something like this:
>
> CFLAGS = "-O2 -Wall"
> if <SOME CHECK TO SEE IF ARCH=alpha>
> CFLAGS += "-mieee"
> endif
A reasonable incantation to do this in the makefile is:
ifneq (,$(findstring alpha, $(shell /usr/bin/dpkg-architecture -qDEB_HOST_ARCH)))
CFLAGS += -mieee
endif
Hope this helps!
Joe Nahmias
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE+PsgNKl23+OYWEqURAhPQAKC976ZpQ7glZbduj8/tq7ehEdIW4wCfXeq/
HrM+pH1lpCFM/tP6EE+Nk+4=
=i51b
-----END PGP SIGNATURE-----
Reply to: