pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

coreclr-git: Correct clang/clang++ usage



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun May 8 00:47:50 2016 +0200
Changeset:	f223a397cf43eb6be65c371d9d52acf1452e991c

Modified Files:
	coreclr-git/Makefile

Log Message:
coreclr-git: Correct clang/clang++ usage

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f223a397cf43eb6be65c371d9d52acf1452e991c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 coreclr-git/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diffs:
diff --git a/coreclr-git/Makefile b/coreclr-git/Makefile
index 4a20231..29862c6 100644
--- a/coreclr-git/Makefile
+++ b/coreclr-git/Makefile
@@ -35,11 +35,13 @@ LDFLAGS+=	${COMPILER_RPATH_FLAG}${CORECLR_PREFIX:Q}/bin
 BUILDLINK_PASSTHRU_DIRS+=	${CORECLR_PREFIX:Q}
 BUILDLINK_PASSTHRU_RPATHDIRS+=	${CORECLR_PREFIX:Q}
 
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
+# DOTNET targets only LLVM
+PKGSRC_COMPILER=	clang
+PKG_CC=			clang
+PKG_CXX=		clang++
 _WRAP_EXTRA_ARGS.CXX+=	-Wno-unused-function -Wno-self-assign
 CWRAPPERS_APPEND.cxx+=	-Wno-unused-function -Wno-self-assign
-.endif
+
 
 TEST_ENV+=	LD_LIBRARY_PATH=${WRKSRC}/bin/obj/${OPSYS}.x64.Debug/src/pal/tests/palsuite/exception_handling/pal_sxs/test1
 


Home | Main Index | Thread Index | Old Index