From d01251ad51c9c3ee5cab3b824d8d49670cc1bc66 Mon Sep 17 00:00:00 2001 From: midipix Date: Jan 10 2019 03:43:15 +0000 Subject: project: added common cflags. --- 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