Note: -mbig-obj has been available on 64bit bit builds for a while now, but
on 32bit builds it needs a rather recent binutils version (2.35, 07/2020).
add_definitions(-Wall -Wextra)
add_definitions(-std=c++11)
add_definitions(-DBOOST_MATH_DISABLE_FLOAT128=1)
-add_definitions(-Wa,-mbig-obj)
-add_definitions(-O3)
+if(WIN32)
+ add_definitions(-Wa,-mbig-obj -O3)
+endif()
if(ENABLE_FLOW)
add_definitions(-DENABLE_FLOW)