From 4b01e5348d3943fc1a69ba32cb057d124735f113 Mon Sep 17 00:00:00 2001 From: Liam Huang Date: Wed, 6 Jan 2021 21:29:25 +0800 Subject: [PATCH] [blade] add build config for clang installed by Linuxbrew. --- config/blade/build.clang.linuxbrew.conf | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 config/blade/build.clang.linuxbrew.conf diff --git a/config/blade/build.clang.linuxbrew.conf b/config/blade/build.clang.linuxbrew.conf new file mode 100644 index 0000000..31866cf --- /dev/null +++ b/config/blade/build.clang.linuxbrew.conf @@ -0,0 +1,6 @@ +export LDFLAGS="-L/home/linuxbrew/.linuxbrew/opt/llvm/lib -Wl,-rpath,/home/linuxbrew/.linuxbrew/opt/llvm/lib -stdlib=libc++" + +export CPP=clang++ +export CXX=clang++ +export LD=clang++ +export CC=clang