pkgsrc-WIP-changes archive

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

llilc-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:41:05 2016 +0200
Changeset:	2d5d420d650a03605288230a6773abbbc56745d3

Modified Files:
	llilc-git/Makefile

Log Message:
llilc-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=2d5d420d650a03605288230a6773abbbc56745d3

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

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

diffs:
diff --git a/llilc-git/Makefile b/llilc-git/Makefile
index 9c15b6d..15d3622 100644
--- a/llilc-git/Makefile
+++ b/llilc-git/Makefile
@@ -25,10 +25,12 @@ PYTHON_FOR_BUILD_ONLY=  yes
 
 BUILDLINK_TRANSFORM+=        rm:-Werror
 
-# DOTNET targets only LLVM
 CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
-CMAKE_ARGS+=	-DCMAKE_C_COMPILER=clang
-CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=clang++
+
+# DOTNET targets only LLVM
+PKGSRC_COMPILER=	clang
+PKG_CC=			clang
+PKG_CXX=		clang++
 
 CHECK_PORTABILITY_SKIP= utils/buildit/build_llvm
 


Home | Main Index | Thread Index | Old Index