mirror of https://github.com/encounter/SDL.git
revert the previous -Wc,-static-libgcc patch:
Someone reported breakage with that:
bc51de2f87 (commitcomment-52550755)
This commit is contained in:
parent
bc51de2f87
commit
a6715a20d8
|
@ -25324,7 +25324,7 @@ $as_echo "#define SDL_LOADSO_WINDOWS 1" >>confdefs.h
|
||||||
else
|
else
|
||||||
LIBUUID=-luuid
|
LIBUUID=-luuid
|
||||||
fi
|
fi
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion $LIBUUID -Wc,-static-libgcc"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion $LIBUUID -static-libgcc"
|
||||||
# The Windows platform requires special setup
|
# The Windows platform requires special setup
|
||||||
VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
|
VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
|
||||||
SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
|
SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
|
||||||
|
|
|
@ -3870,7 +3870,7 @@ case "$host" in
|
||||||
else
|
else
|
||||||
LIBUUID=-luuid
|
LIBUUID=-luuid
|
||||||
fi
|
fi
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion $LIBUUID -Wc,-static-libgcc"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion $LIBUUID -static-libgcc"
|
||||||
# The Windows platform requires special setup
|
# The Windows platform requires special setup
|
||||||
VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
|
VERSION_SOURCES="$srcdir/src/main/windows/*.rc"
|
||||||
SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
|
SDLMAIN_SOURCES="$srcdir/src/main/windows/*.c"
|
||||||
|
|
Loading…
Reference in New Issue