From 7089bc25d3d049df5f40ff0170689a6bc0e8d59b Mon Sep 17 00:00:00 2001 From: midipix Date: Apr 08 2019 06:04:19 +0000 Subject: CFLAGS_CONFIG: limit -fno-asynchronous-unwind-tables to linux targets. --- 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