ARM: tidy compilation flags
This commit is contained in:
3 files changed
+12
-10
No files matched your search
+3
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user