From d01251ad51c9c3ee5cab3b824d8d49670cc1bc66 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 7 Jan 2019 07:07:20 -0500 Subject: project: added common cflags. --- project/extras.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'project') diff --git a/project/extras.mk b/project/extras.mk index e77efac..86d9040 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -16,3 +16,11 @@ LDFLAGS_COMMON += -Wl,--hash-style -Wl,both LDFLAGS_COMMON += -Wl,--sort-section -Wl,alignment SHARED_LIB_DEPS += -lgcc -lgcc_eh + +# common cflags +CFLAGS_COMMON += -fdata-sections +CFLAGS_COMMON += -ffunction-sections +CFLAGS_COMMON += -fno-unwind-tables +CFLAGS_COMMON += -fno-asynchronous-unwind-tables +CFLAGS_COMMON += -frounding-math +CFLAGS_COMMON += -fexcess-precision=standard -- cgit v1.2.3