diff options
author | Ken Lawas <kenneth.lawas@gmail.com> | 2022-02-20 15:48:17 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-21 14:31:05 +0700 |
commit | ab6a274abe648eea04ef4c6f093de277e94ebccd (patch) | |
tree | 23ac635d0deb5f06ade3d1957d270e01fc5d8f35 /development/avr-gcc | |
parent | 35e5a574e053339050b8f56f2bacec6133751d39 (diff) | |
download | slackbuilds-ab6a274abe648eea04ef4c6f093de277e94ebccd.tar.gz |
development/avr-gcc: Fix compiler FLAGS on 32bit ARCHs.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/avr-gcc')
-rw-r--r-- | development/avr-gcc/avr-gcc.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/development/avr-gcc/avr-gcc.SlackBuild b/development/avr-gcc/avr-gcc.SlackBuild index 2e58f2c5cf..f6d6b2de03 100644 --- a/development/avr-gcc/avr-gcc.SlackBuild +++ b/development/avr-gcc/avr-gcc.SlackBuild @@ -37,10 +37,10 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" + SLKCFLAGS="-O2 -pipe" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -pipe" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" |