summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-07 07:07:20 -0500
committermidipix <writeonce@midipix.org>2019-01-09 22:43:15 -0500
commitd01251ad51c9c3ee5cab3b824d8d49670cc1bc66 (patch)
treedb51f903340d62a89972672cbf10ee12842dbaa6
parentbfd5032fecd9704514c27f4021c8e084df188710 (diff)
downloadmmglue-d01251ad51c9c3ee5cab3b824d8d49670cc1bc66.tar.bz2
mmglue-d01251ad51c9c3ee5cab3b824d8d49670cc1bc66.tar.xz
project: added common cflags.
-rw-r--r--project/extras.mk8
1 files changed, 8 insertions, 0 deletions
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