Skip to content

Commit

Permalink
Add compatability with old processors, fix c3e3a36
Browse files Browse the repository at this point in the history
  • Loading branch information
In-line committed Sep 4, 2017
1 parent f970058 commit f5664c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ file(GLOB_RECURSE SOURCE_FILES ${SRC_DIR}/*.h ${SRC_DIR}/*.cpp)

add_library(${PROJECT_NAME} SHARED ${SRC_LIST} ${SOURCE_FILES})

set(FLAGS "-m32 -O2 -mtune=generic -fvisibility=hidden -flto -fPIC")
set(FLAGS "-m32 -O2 -fvisibility=hidden -flto -fPIC")
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "${FLAGS} -fdata-sections -ffunction-sections")
set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "${FLAGS} -static-libgcc -static-libstdc++ -s -Wl,--version-script=${CMAKE_SOURCE_DIR}/version_script.lds -Wl,--gc-sections")

Expand Down

0 comments on commit f5664c6

Please sign in to comment.