cxx: clear the default cmake cxxflags/cflags
cmake forces some values we don't want. it's better to start from scratch.
This commit is contained in:
parent
2b9bff932c
commit
cec999bfdf
@ -5,6 +5,14 @@ endif ()
|
|||||||
|
|
||||||
set (__nc_cxx TRUE)
|
set (__nc_cxx TRUE)
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# clear the default flags because they include optimisation flags we
|
||||||
|
# explicitly do not want (ie, O3).
|
||||||
|
set (CMAKE_CXX_FLAGS_RELEASE "")
|
||||||
|
set (CMAKE_C_FLAGS_RELEASE "")
|
||||||
|
set (CMAKE_CXX_FLAGS_DEBUG "")
|
||||||
|
set (CMAKE_C_FLAGS_DEBUG "")
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
include (compile_flag)
|
include (compile_flag)
|
||||||
|
Loading…
Reference in New Issue
Block a user