From: Rainer Orth Date: Mon, 20 May 2019 11:22:40 +0000 (+0000) Subject: Fix %e in Solaris specs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d345a96a28af5aa1f407946c393b65d7a998887;p=gcc.git Fix %e in Solaris specs * config/sol2.h (LIBTSAN_EARLY_SPEC): Remove : after %e. (LIBLSAN_EARLY_SPEC): Likewise. * config/i386/sol2.h (ASAN_REJECT_SPEC): Likewise. From-SVN: r271410 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 237a1c1716f..2852bf4ab3a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-05-20 Rainer Orth + + * config/sol2.h (LIBTSAN_EARLY_SPEC): Remove : after %e. + (LIBLSAN_EARLY_SPEC): Likewise. + * config/i386/sol2.h (ASAN_REJECT_SPEC): Likewise. + 2019-05-20 Martin Liska * config/i386/i386.c (ix86_libc_has_fast_function): diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h index 1583e706549..f31943a5118 100644 --- a/gcc/config/i386/sol2.h +++ b/gcc/config/i386/sol2.h @@ -241,7 +241,7 @@ along with GCC; see the file COPYING3. If not see /* -fsanitize=address is currently only supported for 32-bit. */ #define ASAN_REJECT_SPEC \ - DEF_ARCH64_SPEC("%e:-fsanitize=address is not supported in this configuration") + DEF_ARCH64_SPEC("%e-fsanitize=address is not supported in this configuration") #undef NO_PROFILE_COUNTERS diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index ed9e49b533c..f308be4e090 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -260,9 +260,9 @@ along with GCC; see the file COPYING3. If not see /* Error out on -fsanitize=thread|leak. */ #define LIBTSAN_EARLY_SPEC "\ - %e:-fsanitize=thread is not supported in this configuration" + %e-fsanitize=thread is not supported in this configuration" #define LIBLSAN_EARLY_SPEC "\ - %e:-fsanitize=leak is not supported in this configuration" + %e-fsanitize=leak is not supported in this configuration" /* We don't use the standard svr4 STARTFILE_SPEC because it's wrong for us. */ #undef STARTFILE_SPEC