diff --git a/wine.spec b/wine.spec index dce57da..fa63282 100644 --- a/wine.spec +++ b/wine.spec @@ -705,7 +705,7 @@ export CFLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//'` -Wno export CC="/usr/bin/clang" # Fedora's default compiler flags now conflict with what clang supports # https://bugzilla.redhat.com/show_bug.cgi?id=1658311 -export CFLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/-fstack-clash-protection//'`" +export CFLAGS="`echo $CFLAGS | sed -e 's/-fstack-clash-protection//'`" %endif %configure \