From 7089bc25d3d049df5f40ff0170689a6bc0e8d59b Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 8 Apr 2019 02:01:45 -0400 Subject: CFLAGS_CONFIG: limit -fno-asynchronous-unwind-tables to linux targets. --- project/arch.mk | 4 ++++ project/extras.mk | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'project') 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 -- cgit v1.2.3