changeset 672:64c94cb80b66

x11/libx11: fix build with clang
author David Demelier <markand@malikania.fr>
date Thu, 01 Aug 2019 20:15:00 +0200
parents 83854d0ac053
children 095df05b9e78
files x11/libx11/libx11.sh
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/x11/libx11/libx11.sh	Thu Aug 01 20:10:00 2019 +0200
+++ b/x11/libx11/libx11.sh	Thu Aug 01 20:15:00 2019 +0200
@@ -43,6 +43,7 @@
 	CFLAGS="$CFLAGS" \
 	LDFLAGS="$LDFLAGS" \
 	LIBS="$LIBS" \
+	CPP="$CC -E -" \
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \