diff --git a/src/wwdg/CMakeLists.txt b/src/wwdg/CMakeLists.txt index f54f6ad..ad8f4c8 100644 --- a/src/wwdg/CMakeLists.txt +++ b/src/wwdg/CMakeLists.txt @@ -16,18 +16,10 @@ if(NOT UNIT_TESTING) ) target_compile_options(wwdg 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() target_include_directories(wwdg PUBLIC ${CMAKE_CURRENT_LIST_DIR}