freebsd-ports/devel/mingw32-gcc/files/patch-gcc_config_i386_mingw32.h
Stephen Montgomery-Smith 0816ffb03a - Patches so that it builds with clang-6.
PR:		ports/229662
Submitted by:	stephen@FreeBSD.org
2018-07-10 21:13:45 +00:00

11 lines
359 B
C

--- gcc/config/i386/mingw32.h.orig 2018-07-10 04:38:04 UTC
+++ gcc/config/i386/mingw32.h
@@ -137,7 +137,7 @@ along with GCC; see the file COPYING3.
#undef REAL_LIBGCC_SPEC
#define REAL_LIBGCC_SPEC \
"%{mthreads:-lmingwthrd} -lmingw32 \
- "SHARED_LIBGCC_SPEC" \
+ " SHARED_LIBGCC_SPEC " \
-lmoldname -lmingwex -lmsvcrt"
#undef STARTFILE_SPEC