summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-04-08 02:01:45 -0400
committermidipix <writeonce@midipix.org>2019-04-08 02:04:19 -0400
commit7089bc25d3d049df5f40ff0170689a6bc0e8d59b (patch)
tree0bd5730d457781d078f4102d29ac023b2d437398 /project
parentcfeeec98503557c1ec71fa1dedae8c4b90dd8b42 (diff)
downloadmmglue-7089bc25d3d049df5f40ff0170689a6bc0e8d59b.tar.bz2
mmglue-7089bc25d3d049df5f40ff0170689a6bc0e8d59b.tar.xz
CFLAGS_CONFIG: limit -fno-asynchronous-unwind-tables to linux targets.
Diffstat (limited to 'project')
-rw-r--r--project/arch.mk4
-rw-r--r--project/extras.mk1
2 files changed, 4 insertions, 1 deletions
diff --git a/project/arch.mk b/project/arch.mk
index 9bb0f43..5236cb8 100644
--- a/project/arch.mk
+++ b/project/arch.mk
@@ -27,6 +27,10 @@ TARGET_SYS_HEADERS = \
install-headers: install-target-sys-headers
+else
+
+CFLAGS_CONFIG += -fno-asynchronous-unwind-tables
+
endif
install-target-sys-headers: $(TARGET_SYS_HEADERS)
diff --git a/project/extras.mk b/project/extras.mk
index fd9d239..f295cd7 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -23,7 +23,6 @@ endif
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