cross-profiles: enable -fstack-protector-strong for armv[67]hf profiles.

This commit is contained in:
Juan RP 2014-05-16 08:30:07 +02:00
parent f2127f6e3b
commit bb7da9658d
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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"