]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/mips/gnu-user.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / mips / gnu-user.h
index 6aad7192e6958463789900c708b88fded7e9f86b..875a24f8cac146a5bdb929bf37fd72cb60a01279 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for MIPS systems using GNU userspace.
-   Copyright (C) 1998-2022 Free Software Foundation, Inc.
+   Copyright (C) 1998-2024 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -139,7 +139,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
 /* Similar to standard Linux, but adding -ffast-math support.  */
 #undef GNU_USER_TARGET_MATHFILE_SPEC
 #define GNU_USER_TARGET_MATHFILE_SPEC \
-  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"
+  "%{Ofast|ffast-math|funsafe-math-optimizations:%{!shared:crtfastmath.o%s}}"
 #undef  ENDFILE_SPEC
 #define ENDFILE_SPEC \
   GNU_USER_TARGET_MATHFILE_SPEC " " \