mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Fix the build with clang 3.8.0 or later which support "native" Windows
varargs builtins. PR: 206527 Submitted by: dim
This commit is contained in:
parent
df8d1d1b87
commit
3238897fa1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408683
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user