void-packages/common/cross-profiles/i686.sh
Juan RP b095cbfbfe cross-profiles: i686: use -fstack-protector for now (close #1061).
The cross-i686-pc-linux-gnu pkg uses gcc-4.7.x and does not support
-fstack-protector-strong, so use a more relaxed approach for now.
2015-03-06 08:21:21 +01:00

8 lines
270 B
Bash

# Cross build profile for i686 GNU.
XBPS_TARGET_ARCH="i686"
XBPS_CROSS_TRIPLET="i686-pc-linux-gnu"
XBPS_CFLAGS="-O2 -pipe -fstack-protector --param ssp-buffer-size=2"
XBPS_CXXFLAGS="$XBPS_CFLAGS"
XBPS_CROSS_CFLAGS="-march=i686"
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"