ld: Change NOSANTIZE_CFLAGS to NOSANITIZE_CFLAGS
[deliverable/binutils-gdb.git] / ld / testsuite / config / default.exp
index 9e89ca1283472c2ab071fb65104007e3246f7a1a..58ca4a278cbc0e876dd29a66a96a39bdf38f1076 100644 (file)
@@ -576,10 +576,10 @@ if { ![info exists STATIC_PIE_LDFLAGS] } then {
     }
 }
 
-# Set NOSANTIZE_CFLAGS to "-fno-sanitize=all" if target compiler
+# Set NOSANITIZE_CFLAGS to "-fno-sanitize=all" if target compiler
 # supports it.
 
-if { ![info exists NOSANTIZE_CFLAGS] } then {
+if { ![info exists NOSANITIZE_CFLAGS] } then {
     if { [check_compiler_available] } {
        # Check if gcc supports -fno-sanitize=all.
        set flags ""
@@ -605,11 +605,11 @@ if { ![info exists NOSANTIZE_CFLAGS] } then {
        file delete $src
 
        if { $available == 1 } then {
-           set NOSANTIZE_CFLAGS "-fno-sanitize=all"
+           set NOSANITIZE_CFLAGS "-fno-sanitize=all"
        } else {
-           set NOSANTIZE_CFLAGS ""
+           set NOSANITIZE_CFLAGS ""
        }
     } else {
-       set NOSANTIZE_CFLAGS ""
+       set NOSANITIZE_CFLAGS ""
     }
 }
This page took 0.029188 seconds and 4 git commands to generate.