aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-09-26 15:10:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-09-26 15:10:33 +0200
commit6d4d98b82fd39173176b2ca7568b1e710b849880 (patch)
tree1df635132f0b49a2174087e001a3b23e0f0fe93a /build
parent12de9ea1dbfc77ea371504a84cd588027d224ae3 (diff)
Work around issue with sanitizers messing up rpath
Diffstat (limited to 'build')
-rw-r--r--build/root.build7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/root.build b/build/root.build
index 3c72be0..b6e7004 100644
--- a/build/root.build
+++ b/build/root.build
@@ -1,8 +1,6 @@
# file : build/root.build
# license : MIT; see accompanying LICENSE file
-using bash
-
cxx.std = latest
using cxx
@@ -19,3 +17,8 @@ if ($cxx.class == 'msvc')
cxx.coptions += /wd4251 /wd4275 /wd4800
elif ($cxx.id == 'gcc')
cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object # libbutl
+
+# Work around issue with sanitizers messing up rpath (see issue #1219).
+#
+if ($build.mode != 'skeleton')
+ using bash