Fix ARM64 build after recent clang changes

f38
Michael Cronenworth 6 years ago
parent ebd8634fbc
commit 828989739b

@ -703,6 +703,9 @@ export CFLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//'` -Wno
# ARM64 now requires clang # ARM64 now requires clang
# https://source.winehq.org/git/wine.git/commit/8fb8cc03c3edb599dd98f369e14a08f899cbff95 # https://source.winehq.org/git/wine.git/commit/8fb8cc03c3edb599dd98f369e14a08f899cbff95
export CC="/usr/bin/clang" 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 %endif
%configure \ %configure \

Loading…
Cancel
Save