[Slackbuilds-users] Desmume on 64-bit - optimization flag
Matteo Bernardini
matteo.bernardini at gmail.com
Wed Jan 23 07:21:59 UTC 2013
I lied (previous versions are fails)
SLKCFLAGS=${SLKCFLAGS:--O2}
LIBDIRSUFFIX=""
[ "$(uname -m)" = "x86_64" ] && SLKCFLAGS="$SLKCFLAGS -fPIC"
LIBDIRSUFFIX="64"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "native" ] && SLKCFLAGS="$SLKCFLAGS
-march=$ARCH"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ] && SLKCFLAGS="$SLKCFLAGS
-mtune=i686"
Matteo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130123/54f352bb/attachment-0001.html>
More information about the SlackBuilds-users
mailing list