From 061fae2e3e64815350f0540bd6d560ba159a8bf1 Mon Sep 17 00:00:00 2001 From: Cesar Douady Date: Thu, 18 Apr 2024 19:24:41 +0200 Subject: [PATCH] fixup --- _bin/sys_config | 2 +- unit_tests/bench.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_bin/sys_config b/_bin/sys_config index 89d9d247..ab765181 100755 --- a/_bin/sys_config +++ b/_bin/sys_config @@ -79,7 +79,7 @@ $CXX -v -o /dev/null -std=c++20 -xc++ -<<< "int main(){}" 2>compiler_info if [ $CXX_FLAVOR = gcc ] ; then LLP="$(grep LIBRARY_PATH= compiler_info)" # e.g. : LIBRARY_PATH=/usr/lib/x:/a/b:/c:/a/b/c/.. LLP="${LLP#LIBRARY_PATH=}" # e.g. : /usr/lib/x:/a/b:/c:/a/b/c/.. - LLP="$(sed 's/:/ /' -<<< $LLP)" # e.g. : /usr/lib/x /a/b /c /a/b/c/.. + LLP="$(sed 's/:/ /g' -<<< $LLP)" # e.g. : /usr/lib/x /a/b /c /a/b/c/.. elif [ $CXX_FLAVOR = clang ] ; then set $(grep -- -L compiler_info) while [ $# != 0 ] ; do diff --git a/unit_tests/bench.py b/unit_tests/bench.py index 02d243f8..c4eadcdc 100644 --- a/unit_tests/bench.py +++ b/unit_tests/bench.py @@ -15,7 +15,7 @@ import lmake from lmake.rules import Rule,PyRule - gxx = 'clang' + gxx = os.environ.get('CXX','g++') lmake.manifest = ( 'Lmakefile.py'