mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-25 05:58:46 +01:00
Update static flags to fix seg fault
-static will compile, but causes a segment fault on both build and target. Using the new flags compiles cleanly and runs on both build and target. (Build = debian sid [test], Target= debian jessie [stable])
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ set(CMAKE_C_FLAGS "-DNDEBUG -march=westmere -O3 -m64 -s")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -std=c++11")
|
||||
|
||||
set(CMAKE_EXE_LINKER_FLAGS_RELSEASE "")
|
||||
set(CMAKE_EXE_LINKER_FLAGS_STATIC "-static")
|
||||
set(CMAKE_EXE_LINKER_FLAGS_STATIC "-static-libgcc -static-libstdc++")
|
||||
|
||||
set(EXECUTABLE_OUTPUT_PATH "bin")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user