fixes #585, now statically linking against stdlibc++

This commit is contained in:
Miso Zmiric (Mike Squinter) 2014-11-22 20:28:23 +00:00
parent 5395f099da
commit 4ac520eaf7
2 changed files with 1 additions and 1 deletions

View File

@ -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)

0
clean.sh Normal file → Executable file
View File