From d8977f781478f67ed7484d0deaab5c3b815271f2 Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Thu, 3 Nov 2022 21:43:07 +0000 Subject: RISC OS: generate unwind tables for EABI builds --- frontends/riscos/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'frontends/riscos') diff --git a/frontends/riscos/Makefile b/frontends/riscos/Makefile index 31a7f4aea..1708220ad 100644 --- a/frontends/riscos/Makefile +++ b/frontends/riscos/Makefile @@ -22,6 +22,9 @@ RESOURCES = $(TPD_RISCOS) CFLAGS += -Driscos -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE \ -mpoke-function-name -fno-strict-aliasing +ifeq ($(findstring -elfeabi,$(SUBTARGET)),-elfeabi) + CFLAGS += -funwind-tables +endif CFLAGS += -I$(GCCSDK_INSTALL_ENV)/include ifeq ($(HOST),riscos) -- cgit v1.2.3