Browse Source

cross compile for standalone

lagkey
T-bone 6 years ago
parent
commit
5c696d3a25
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      CMake/Mingw-Cross.cmake

+ 1
- 1
CMake/Mingw-Cross.cmake View File

37
 #set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
37
 #set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
38
 #Static Libs
38
 #Static Libs
39
 #Set Linker flags
39
 #Set Linker flags
40
-set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
40
+set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")

Loading…
Cancel
Save