filter out -fstack-clash-protection
This commit is contained in:
parent
86c937dc8f
commit
e88a6a873f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue