From 91490888c5f543c2df059192221de53d6accaf41 Mon Sep 17 00:00:00 2001 From: Joey Riches Date: Sat, 23 Dec 2023 22:24:06 +0000 Subject: [PATCH] data/macros: clang doesn't understand -feliminate-unused-debug-types Resolves #95. --- data/macros/arch/base.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/data/macros/arch/base.yml b/data/macros/arch/base.yml index 83c05fec83..75b0ec4c2f 100644 --- a/data/macros/arch/base.yml +++ b/data/macros/arch/base.yml @@ -443,9 +443,13 @@ flags : # Toggle debug-std optimisations (ON) - debug-std: - c : "-g -feliminate-unused-debug-types -fasynchronous-unwind-tables" - cxx : "-g -feliminate-unused-debug-types -fasynchronous-unwind-tables" d : "-g -gc -d-debug" + gnu: + c : "-g -feliminate-unused-debug-types -fasynchronous-unwind-tables" + cxx : "-g -feliminate-unused-debug-types -fasynchronous-unwind-tables" + llvm: + c : "-g -fasynchronous-unwind-tables" + cxx : "-g -fasynchronous-unwind-tables" # Toggle fast math (OFF) - math: