refactored the target compile options to use the variables from the toolchain file.

This commit is contained in:
Jake Goodwin 2026-02-22 19:31:18 -08:00
parent bc5f93d7ae
commit 69efaec385

View file

@ -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()