pass CC, CXX, CXXFLAGS to the xenocara build; ok matthieu@

This commit is contained in:
naddy
2017-03-07 21:35:57 +00:00
parent d428134982
commit bfc7bb1386
2 changed files with 8 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# $OpenBSD: bsd.xorg.mk,v 1.58 2017/02/12 18:19:54 matthieu Exp $ -*- makefile -*-
# $OpenBSD: bsd.xorg.mk,v 1.59 2017/03/07 21:35:58 naddy Exp $ -*- makefile -*-
#
# Copyright <20> 2006,2012 Matthieu Herrb
#
@@ -56,7 +56,10 @@ XENOCARA_PATH?= /bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
CONFIGURE_ENV= PKG_CONFIG_LIBDIR="$(PKG_CONFIG_LIBDIR)" \
CONFIG_SITE=$(CONFIG_SITE) \
CC="$(CC)" \
CFLAGS="$(CFLAGS:C/ *$//)" \
CXX="$(CXX)" \
CXXFLAGS="$(CXXFLAGS:C/ *$//)" \
MAKE="${MAKE}"
CONFIGURE_ARGS+= --disable-silent-rules