1# Bruce C Compiler ignores "-g" flag and optimization cannot be
2# enabled here (it is implemented only for 8086 target).
3string(APPEND CMAKE_C_FLAGS_INIT " -D__CLASSIC_C__")
4string(APPEND CMAKE_C_FLAGS_DEBUG_INIT " -g")
5string(APPEND CMAKE_C_FLAGS_MINSIZEREL_INIT " -DNDEBUG")
6string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -DNDEBUG")
7string(APPEND CMAKE_C_FLAGS_RELWITHDEBINFO_INIT " -g -DNDEBUG")
8
9set(CMAKE_C_LINKER_WRAPPER_FLAG "-X")
10