]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/i386/mingw32.h
Don't add crtfastmath.o for -shared.
[thirdparty/gcc.git] / gcc / config / i386 / mingw32.h
index f7379de05a1c15c8eb76bfe82255aa566c2331e8..6a55baaa4587e926c7e0f83583410c9e0efc18fa 100644 (file)
@@ -196,7 +196,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+  "%{mdaz-ftz:crtfastmath.o%s;Ofast|ffast-math|funsafe-math-optimizations:%{!shared:%{!mno-daz-ftz:crtfastmath.o%s}}} \
    %{!shared:%:if-exists(default-manifest.o%s)}\
    %{fvtable-verify=none:%s; \
     fvtable-verify=preinit:vtv_end.o%s; \