diff options
-rw-r--r-- | games/rocksndiamonds/rocksndiamonds.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/games/rocksndiamonds/rocksndiamonds.SlackBuild b/games/rocksndiamonds/rocksndiamonds.SlackBuild index 7feb5f5c44..778c5703f2 100644 --- a/games/rocksndiamonds/rocksndiamonds.SlackBuild +++ b/games/rocksndiamonds/rocksndiamonds.SlackBuild @@ -41,11 +41,11 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-fPIC" + SLKCFLAGS="-O2 -fPIC" else SLKCFLAGS="-O2" fi @@ -67,7 +67,7 @@ find -L . \ make clean make \ - EXTRA_CFLAGS="$SLKCFLAGS" \ + EXTRA_CFLAGS="$SLKCFLAGS -fgnu89-inline" \ RO_GAME_DIR=/usr/games \ RO_GAME_DIR=/usr/share/games/rocksndiamonds \ RW_GAME_DIR=/var/games/rocksndiamonds \ |