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.
This commit is contained in:
Juan RP 2015-03-06 08:20:09 +01:00
parent 9de23e2f49
commit b095cbfbfe

View file

@ -2,5 +2,7 @@
XBPS_TARGET_ARCH="i686"
XBPS_CROSS_TRIPLET="i686-pc-linux-gnu"
XBPS_CROSS_CFLAGS="-march=i686 -mtune=generic"
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"