b095cbfbfe
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.
9 lines
270 B
Bash
9 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"
|