build fix.

Signed-off-by: HiFiPhile <admin@hifiphile.com>
This commit is contained in:
HiFiPhile
2025-04-08 00:22:47 +02:00
parent 084c0802c3
commit 3acaffd64d
4 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ function(add_board_target BOARD_TARGET)
-ffreestanding
-mgeneral-regs-only
-fno-exceptions
-std=c17
-std=gnu17
)
target_include_directories(${BOARD_TARGET} PUBLIC
${SDK_DIR}

View File

@@ -10,7 +10,7 @@ CFLAGS += \
-nostartfiles \
-mgeneral-regs-only \
-fno-exceptions \
-std=c17
-std=gnu17
CROSS_COMPILE = arm-none-eabi-

View File

@@ -43,7 +43,7 @@ function(add_board_target BOARD_TARGET)
-ffreestanding
-mgeneral-regs-only
-fno-exceptions
-std=c17
-std=gnu17
)
target_compile_definitions(${BOARD_TARGET} PUBLIC
BCM_VERSION=${BCM_VERSION}

View File

@@ -9,7 +9,7 @@ CFLAGS += \
-nostartfiles \
--specs=nosys.specs \
-mgeneral-regs-only \
-std=c17
-std=gnu17
CROSS_COMPILE = aarch64-none-elf-