From e88a6a873f6800e456952d35bc18c73b26642779 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 6 Feb 2019 12:32:34 -0500 Subject: [PATCH] filter out -fstack-clash-protection --- libcxx.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx.spec b/libcxx.spec index 30a179e..76c31be 100644 --- a/libcxx.spec +++ b/libcxx.spec @@ -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.