From 982af34da343c01283253e2c1f8f9fc0d6774cca Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Mon, 23 Jan 2023 19:48:41 -0800 Subject: [PATCH] Not locked into -O0 --- Source/DSPSpy/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/DSPSpy/Makefile b/Source/DSPSpy/Makefile index 65b83c2786..99f8894806 100644 --- a/Source/DSPSpy/Makefile +++ b/Source/DSPSpy/Makefile @@ -31,10 +31,10 @@ INCLUDES := include ../Core/Common . # options for code generation #--------------------------------------------------------------------------------- -CFLAGS = -gdwarf-4 -save-temps -O0 -Wall --no-strict-aliasing $(MACHDEP) $(INCLUDE) +CFLAGS = -g -save-temps -O2 -Wall --no-strict-aliasing $(MACHDEP) $(INCLUDE) CXXFLAGS = -std=c++17 -Wno-register $(CFLAGS) -LDFLAGS = -g $(MACHDEP) -gdwarf-4 -Wl,-Map,$(notdir $@).map +LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map #--------------------------------------------------------------------------------- # any extra libraries we wish to link with the project