ARM: tidy compilation flags

This commit is contained in:
Philippe Teuwen committed 2026-04-28 13:00:42 +02:00
1 parent 294b656af1
commit 6efff9a6ae
3 files changed
+12 -10

No files matched your search

+3 -3
View File
@@ -34,10 +34,10 @@ VERSIONSRC = version_pm3.c
# THUMBSRC :=
# stdint.h provided locally until GCC 4.5 becomes C99 compliant
APP_CFLAGS = -I. -ffunction-sections -fdata-sections -DAS_BOOTROM
APP_CFLAGS = -I. -DAS_BOOTROM
# stack-protect , no-pie reduces size on Gentoo Hardened 8.2 gcc, no-common makes sure uninitialized vars don't end up in COMMON area
APP_CFLAGS += -fno-stack-protector -fno-pie -fno-common
# no-common makes sure uninitialized vars don't end up in COMMON area
APP_CFLAGS += -fno-common
ifneq (,$(findstring WITH_FLASH,$(PLATFORM_DEFS)))
APP_CFLAGS += -DWITH_FLASH