|
|
|
@ -699,6 +699,12 @@ sed -i -e 's!^loader server: libs/port libs/wine tools.*!& include!' Makefile.in
|
|
|
|
|
# http://bugs.winehq.org/show_bug.cgi?id=25073
|
|
|
|
|
export CFLAGS="`echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//'` -Wno-error"
|
|
|
|
|
|
|
|
|
|
%ifarch aarch64
|
|
|
|
|
# ARM64 now requires clang
|
|
|
|
|
# https://source.winehq.org/git/wine.git/commit/8fb8cc03c3edb599dd98f369e14a08f899cbff95
|
|
|
|
|
export CC="/usr/bin/clang"
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
|
--sysconfdir=%{_sysconfdir}/wine \
|
|
|
|
|
--x-includes=%{_includedir} --x-libraries=%{_libdir} \
|
|
|
|
|