summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-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 f1e8d12ff..5e57d8b1e 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=gnu17
+ -std=c17
)
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 6acdf1197..a282e9961 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=gnu17
+ -std=c17
CROSS_COMPILE = arm-none-eabi-
diff --git a/hw/bsp/broadcom_64bit/family.cmake b/hw/bsp/broadcom_64bit/family.cmake
index 16f8e1eae..1a088c2c0 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=gnu17
+ -std=c17
)
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 92b5f69a3..37d381f9f 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=gnu17
+ -std=c17
CROSS_COMPILE = aarch64-none-elf-