pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/clang clang: fix CMAKE_ARGS.Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ece1b726ffc
branches:  trunk
changeset: 400295:7ece1b726ffc
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Aug 26 14:56:21 2019 +0000

description:
clang: fix CMAKE_ARGS.Darwin

diffstat:

 lang/clang/Makefile.common |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e5fe9ecf6c3d -r 7ece1b726ffc lang/clang/Makefile.common
--- a/lang/clang/Makefile.common        Mon Aug 26 14:41:52 2019 +0000
+++ b/lang/clang/Makefile.common        Mon Aug 26 14:56:21 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.33 2019/08/05 19:06:49 adam Exp $
+# $NetBSD: Makefile.common,v 1.34 2019/08/26 14:56:21 adam Exp $
 # used by lang/clang/Makefile
 # used by lang/clang-static-analyzer/Makefile
 # used by lang/clang-tools-extra/Makefile
@@ -29,6 +29,8 @@
 # XXX can't disable static-analyzer without also disabling ARCMT
 CMAKE_ARGS+=   -DCLANG_ENABLE_ARCMT=OFF
 
+.include "../../mk/compiler.mk"
+
 CMAKE_ARGS.Darwin+=    -DCMAKE_LIBTOOL=/usr/bin/libtool
 .if defined(OSX_SDK_PATH)
 CMAKE_ARGS.Darwin+=    -DDEFAULT_SYSROOT=${OSX_SDK_PATH:Q}
@@ -70,8 +72,6 @@
 REPLACE_PYTHON+=       utils/token-delta.py
 REPLACE_PYTHON+=       www/builtins.py
 
-.include "../../mk/compiler.mk"
-
 .if ${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mclang)
 # command to check if clang is using libc++ or libstdc++
 LIBCPP_CHECK_SH=       printf "\#include <ciso646>\n\#ifdef _LIBCPP_VERSION\nYES\n\#endif" | ${CLANGBASE}/bin/clang++ -x c++ -E - 2>&1 | grep YES || true



Home | Main Index | Thread Index | Old Index