From 828989739bc14ebfb4fc2d5fa87137d89d3f79ed Mon Sep 17 00:00:00 2001 From: Michael Cronenworth Date: Thu, 3 Jan 2019 14:57:51 -0600 Subject: [PATCH] Fix ARM64 build after recent clang changes --- wine.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wine.spec b/wine.spec index cb68650..dce57da 100644 --- a/wine.spec +++ b/wine.spec @@ -703,6 +703,9 @@ export CFLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//'` -Wno # ARM64 now requires clang # https://source.winehq.org/git/wine.git/commit/8fb8cc03c3edb599dd98f369e14a08f899cbff95 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//'`" %endif %configure \