summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2025-04-08 00:22:47 +0200
committerHiFiPhile <[email protected]>2025-04-09 19:34:56 +0200
commit3acaffd64d4e14a984c6d1e0c36e733a825f319d (patch)
treebd8ff884b87dcf52ae2271c70d3ca59107fa4636
parent084c0802c310c836e0c3e972b724a5a0d17057ba (diff)
build fix.
Signed-off-by: HiFiPhile <[email protected]>
-rw-r--r--hw/bsp/broadcom_32bit/family.cmake2
-rw-r--r--hw/bsp/broadcom_32bit/family.mk2
-rw-r--r--hw/bsp/broadcom_64bit/family.cmake2
-rw-r--r--hw/bsp/broadcom_64bit/family.mk2
4 files changed, 4 insertions, 4 deletions
diff --git a/hw/bsp/broadcom_32bit/family.cmake b/hw/bsp/broadcom_32bit/family.cmake
index 5e57d8b1e..f1e8d12ff 100644
--- a/hw/bsp/broadcom_32bit/family.cmake
+++ b/hw/bsp/broadcom_32bit/family.cmake
@@ -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}
diff --git a/hw/bsp/broadcom_32bit/family.mk b/hw/bsp/broadcom_32bit/family.mk
index a282e9961..6acdf1197 100644
--- a/hw/bsp/broadcom_32bit/family.mk
+++ b/hw/bsp/broadcom_32bit/family.mk
@@ -10,7 +10,7 @@ CFLAGS += \
-nostartfiles \
-mgeneral-regs-only \
-fno-exceptions \
- -std=c17
+ -std=gnu17
CROSS_COMPILE = arm-none-eabi-
diff --git a/hw/bsp/broadcom_64bit/family.cmake b/hw/bsp/broadcom_64bit/family.cmake
index 1a088c2c0..16f8e1eae 100644
--- a/hw/bsp/broadcom_64bit/family.cmake
+++ b/hw/bsp/broadcom_64bit/family.cmake
@@ -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}
diff --git a/hw/bsp/broadcom_64bit/family.mk b/hw/bsp/broadcom_64bit/family.mk
index 37d381f9f..92b5f69a3 100644
--- a/hw/bsp/broadcom_64bit/family.mk
+++ b/hw/bsp/broadcom_64bit/family.mk
@@ -9,7 +9,7 @@ CFLAGS += \
-nostartfiles \
--specs=nosys.specs \
-mgeneral-regs-only \
- -std=c17
+ -std=gnu17
CROSS_COMPILE = aarch64-none-elf-