Browse Source

package/archlinux: clear more compiler flags not known by GCC 4.8.

pull/601/head
Vladimír Vondruš 3 years ago
parent
commit
2dc117d52d
  1. 2
      package/archlinux/PKGBUILD-gcc48

2
package/archlinux/PKGBUILD-gcc48

@ -15,7 +15,7 @@ _rootdir=$startdir/../../
build() { build() {
# Disable flags unknown to GCC 4.8 # Disable flags unknown to GCC 4.8
newcxxflags=$(echo $CXXFLAGS | sed s/-fstack-protector-strong.//g | sed s/.-fno-plt//g) newcxxflags=$(echo $CXXFLAGS | sed s/-fstack-protector-strong.//g | sed s/.-fno-plt//g | sed s/.-fstack-clash-protection//g | sed s/.-fcf-protection//g)
export CXXFLAGS="$newcxxflags" export CXXFLAGS="$newcxxflags"
if [ ! -d "$_rootdir/build-gcc48" ] ; then if [ ! -d "$_rootdir/build-gcc48" ] ; then

Loading…
Cancel
Save