Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
I don't have win...
Browse files Browse the repository at this point in the history
maybe this can fix build error in win
  • Loading branch information
F8LEFT committed May 7, 2021
1 parent 2f90a33 commit 542c9af
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ else()
set(TARGET_NAME SoFixer32)
endif()

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -static -static-libgcc -static-libstdc++")


set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
if(MINGW)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static -static-libgcc -static-libstdc++")
endif()

set(ROOT_SRC ElfReader.cpp
ElfRebuilder.cpp
ObElfReader.cpp)
Expand Down

0 comments on commit 542c9af

Please sign in to comment.