pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/wasi-compiler-rt wasi-compiler-rt: don't circumve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/848f789ca4ed
branches:  trunk
changeset: 371226:848f789ca4ed
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Jan 07 13:51:05 2022 +0000

description:
wasi-compiler-rt: don't circumvent pkgsrc wrappers

Fixes build failure on Linux due to BUILDLINK_TRANSFORM not kicking in.

diffstat:

 lang/wasi-compiler-rt/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 90a2a164d701 -r 848f789ca4ed lang/wasi-compiler-rt/Makefile
--- a/lang/wasi-compiler-rt/Makefile    Fri Jan 07 13:32:47 2022 +0000
+++ b/lang/wasi-compiler-rt/Makefile    Fri Jan 07 13:51:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/01/07 13:32:47 tnn Exp $
+# $NetBSD: Makefile,v 1.5 2022/01/07 13:51:05 tnn Exp $
 
 .include "../../lang/llvm/version.mk"
 
@@ -32,9 +32,9 @@
 CMAKE_ARGS+=   -DCMAKE_VERBOSE_MAKEFILE=1
 
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
-CMAKE_ARGS+=   -DCMAKE_C_COMPILER=${PREFIX}/bin/clang
-CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${PREFIX}/bin/clang++
-CMAKE_ARGS+=   -DCOMPILER_RT_TEST_COMPILER=${PREFIX}/bin/clang
+CMAKE_ARGS+=   -DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${CXX:Q}
+CMAKE_ARGS+=   -DCOMPILER_RT_TEST_COMPILER=${CC:Q}
 CMAKE_ARGS+=   -DCOMPILER_RT_OS_DIR:STRING=wasi
 CMAKE_ARGS+=   -DLLVM_CONFIG_PATH=${LLVM_CONFIG_PATH:Q}
 CMAKE_ARGS+=   -DCOMPILER_RT_DEFAULT_TARGET_TRIPLE=wasm32-wasi



Home | Main Index | Thread Index | Old Index