make sure uninitialized vars doesnt end up on COMMON_section

This commit is contained in:
iceman1001 authored and Philippe Teuwen committed 2020-07-13 15:41:56 +02:00
1 parent ac29f16529
commit e19e01a6a6
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -25,8 +25,8 @@ VERSIONSRC = version.c
# stdint.h provided locally until GCC 4.5 becomes C99 compliant
APP_CFLAGS = -I. -ffunction-sections -fdata-sections
# stack-protect , no-pie reduces size on Gentoo Hardened 8.2 gcc
APP_CFLAGS += -fno-stack-protector -fno-pie
# stack-protect , no-pie reduces size on Gentoo Hardened 8.2 gcc, no-common makes sure uninitalized vars doesn't end up in COMMON area
APP_CFLAGS += -fno-stack-protector -fno-pie -fno-common
# Do not move this inclusion before the definition of {THUMB,ASM,ARM}SRC