mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #586 from mzmiric5/bug__fix-missing-libstdc++-6-in-new-wine
fixes #585, now statically linking against stdlibc++
This commit is contained in:
commit
4ffff7533e
|
@ -11,7 +11,7 @@ SET(PKG_CONFIG_EXECUTABLE ${COMPILER_PREFIX}-pkg-config)
|
|||
# -fshort-wchar -fshort-enums -mms-bitfields
|
||||
#
|
||||
set(CMAKE_C_FLAGS "-masm=intel -std=gnu99 -fpack-struct=2" CACHE STRING "" FORCE)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-static-libgcc" CACHE STRING "" FORCE)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-static-libgcc -static-libstdc++" CACHE STRING "" FORCE)
|
||||
|
||||
# find and include SDL2
|
||||
INCLUDE(FindPkgConfig)
|
||||
|
|
Loading…
Reference in New Issue