filter out -fstack-clash-protection

This commit is contained in:
Tom Callaway 2019-02-06 12:32:34 -05:00
parent 86c937dc8f
commit e88a6a873f
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ cd _build
%endif
# Filter out cflags not supported by clang.
%global optflags %(echo %{optflags} | sed -e 's/-mcet//g' -e 's/-fcf-protection//g')
%global optflags %(echo %{optflags} | sed -e 's/-mcet//g' -e 's/-fcf-protection//g' -e 's/-fstack-clash-protection//g')
# Clang in older releases than f24 can't build this code without crashing.
# So, we use gcc there. But the really old version in RHEL 6 works. Huh.