summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
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