2016-07-09 11:21:54 +02:00
|
|
|
# Bruce C Compiler ignores "-g" flag and optimization cannot be
|
|
|
|
# enabled here (it is implemented only for 8086 target).
|
2016-10-30 18:24:19 +01:00
|
|
|
string(APPEND CMAKE_C_FLAGS_INIT " -D__CLASSIC_C__")
|
|
|
|
string(APPEND CMAKE_C_FLAGS_DEBUG_INIT " -g")
|
|
|
|
string(APPEND CMAKE_C_FLAGS_MINSIZEREL_INIT " -DNDEBUG")
|
|
|
|
string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -DNDEBUG")
|
|
|
|
string(APPEND CMAKE_C_FLAGS_RELWITHDEBINFO_INIT " -g -DNDEBUG")
|
2018-10-28 12:09:07 +01:00
|
|
|
|
|
|
|
set(CMAKE_C_LINKER_WRAPPER_FLAG "-X")
|