about summary refs log tree commit diff homepage
path: root/scripts/build/v-sanitizer.inc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/v-sanitizer.inc')
-rw-r--r--scripts/build/v-sanitizer.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/v-sanitizer.inc b/scripts/build/v-sanitizer.inc
index 6ac9d19f..1224beb0 100644
--- a/scripts/build/v-sanitizer.inc
+++ b/scripts/build/v-sanitizer.inc
@@ -73,7 +73,7 @@ setup_variables_sanitizer() {
       flags=("-fsanitize=undefined" "-fno-omit-frame-pointer" "-g" "-fsanitize=integer")
       SANITIZER_CXX_FLAGS+=("${flags[@]}")
       SANITIZER_C_FLAGS+=("${flags[@]}")
-      SANITIZER_LD_FLAGS+=("${flags[@]}" "-lubsan" "-fuse-ld=gold")
+      SANITIZER_LD_FLAGS+=("${flags[@]}")
       SANITIZER_SUFFIX+="_ubsan"
       continue
     fi