cross-profiles: enable -fstack-protector-strong for armv[67]hf profiles.
This commit is contained in:
parent
f2127f6e3b
commit
bb7da9658d
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
XBPS_TARGET_ARCH="armv6l"
|
XBPS_TARGET_ARCH="armv6l"
|
||||||
XBPS_CROSS_TRIPLET="arm-linux-gnueabihf"
|
XBPS_CROSS_TRIPLET="arm-linux-gnueabihf"
|
||||||
XBPS_CFLAGS="-O2 -pipe"
|
XBPS_CFLAGS="-O2 -pipe -fstack-protector-strong"
|
||||||
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
||||||
XBPS_CROSS_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
XBPS_CROSS_CFLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
XBPS_TARGET_ARCH="armv7l"
|
XBPS_TARGET_ARCH="armv7l"
|
||||||
XBPS_CROSS_TRIPLET="arm-linux-gnueabihf7"
|
XBPS_CROSS_TRIPLET="arm-linux-gnueabihf7"
|
||||||
XBPS_CFLAGS="-O2 -pipe"
|
XBPS_CFLAGS="-O2 -pipe -fstack-protector-strong"
|
||||||
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
XBPS_CXXFLAGS="$XBPS_CFLAGS"
|
||||||
XBPS_CROSS_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
|
XBPS_CROSS_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
|
||||||
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"
|
||||||
|
|
Loading…
Reference in New Issue