vp-build/common/cross-profiles/i686-musl.sh
Juan RP 3774e0e061 cross-profile: i686-musl: disable fstack-protector-strong for now.
crc32.lo: In function `crc32_combine_':
crc32.c:(.text+0x1d1): undefined reference to `__stack_chk_fail_local'
2015-03-06 10:28:26 +01:00

9 lines
283 B
Bash

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