[Slackbuilds-users] Desmume on 64-bit - optimization flag
JK Wood
joshuakwood at gmail.com
Thu Jan 24 03:25:53 UTC 2013
On Jan 23, 2013 7:47 PM, <xgizzmo at slackbuilds.org> wrote:
>
> On Wednesday 23 January 2013 10:01:12 Matteo Bernardini wrote:
> > Hi J,
> >
> > I tried to adapt the line to take in account Eric's advices
> >
> > SLKCFLAGS=${SLKCFLAGS:--O2}
> > LIBDIRSUFFIX=""
> > [ "$(uname -m)" = "x86_64" ] && [ ! "$(echo $PATH | grep
^\/usr\/bin\/32)"
> > ] && SLKCFLAGS="$SLKCFLAGS -fPIC" LIBDIRSUFFIX="64"
> > [ "$ARCH" = "i486" ] || [ "$ARCH" = "native" ] && SLKCFLAGS="$SLKCFLAGS
> > -march=$ARCH"
> > [ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ] && SLKCFLAGS="$SLKCFLAGS
> > -mtune=i686"
> >
> > Matteo
> >
> > P.S. just to be clear, this is for fun only: ATM there's no plans to
change
> > anything regarding custom CFLAGS/ARCH detection.
> >
>
> I think all that would be needed is to add a line after the $SLKCFLAGS
block.
>
> if [ -n "$RICER_FLAGS" ]; t--hen SLKCFLAGS=$RICER_FLAGS; fi
>
> Then run your build RICER_FLAGS="-enable-more-fruitloops"
./some.SlackBuild
>
> --dsomero :)
>
Just remember, using a red R in Slackware gives you better acceleration,
but using a yellow R increases your top speed.
-JK _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130123/80d2bb58/attachment.html>
More information about the SlackBuilds-users
mailing list