aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2016-02-11 18:58:05 +0800
committergerald <gerald@FreeBSD.org>2016-02-11 18:58:05 +0800
commitd6ce41a13507de2043d59e7c80161769438d022e (patch)
treedd1071226a3bcc4fb39b87c368163335011829f8 /emulators
parent2f89b1c75f0e80e2a266b13c8a83d85145470868 (diff)
downloadfreebsd-ports-gnome-d6ce41a13507de2043d59e7c80161769438d022e.tar.gz
freebsd-ports-gnome-d6ce41a13507de2043d59e7c80161769438d022e.tar.zst
freebsd-ports-gnome-d6ce41a13507de2043d59e7c80161769438d022e.zip
Fix the build with clang 3.8.0 or later which support "native" Windows
varargs builtins. PR: 206527 Submitted by: dim
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 14f3c1dc4bba..23c10066375e 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -119,7 +119,7 @@ X11_LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
CONFIGURE_ARGS+= --enable-win64 --libdir=${PREFIX}/lib
PLIST_SUB+= WINE32="@comment " WINE64=""
-.if ${CHOSEN_COMPILER_TYPE} == clang
+.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 38
CPPFLAGS+= -D__builtin_ms_va_list=__builtin_va_list \
-D__builtin_ms_va_start=__builtin_va_start \
-D__builtin_ms_va_end=__builtin_va_end \