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:
parent
9de23e2f49
commit
b095cbfbfe
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue