diff --git a/src/RegEdit/CMakeLists.txt b/src/RegEdit/CMakeLists.txt index 5bf9034..2b14519 100644 --- a/src/RegEdit/CMakeLists.txt +++ b/src/RegEdit/CMakeLists.txt @@ -13,16 +13,10 @@ if(NOT UNIT_TESTING) ${CMAKE_SOURCE_DIR}/inc/ ) + target_compile_options(RegEdit PUBLIC - -g - -Os - -flto - -ffunction-sections - -fdata-sections - -fmessage-length=0 - -msmall-data-limit=8 - -march=rv32ec - -mabi=ilp32e + ${OBJECT_GEN_FLAGS} + ${C_FLAGS_ARCH} ) else()