summaryrefslogtreecommitdiff
path: root/support/regression
diff options
context:
space:
mode:
Diffstat (limited to 'support/regression')
-rw-r--r--support/regression/Makefile2
-rw-r--r--support/regression/ports/host/spec.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/support/regression/Makefile b/support/regression/Makefile
index 28d69a8..88a7520 100644
--- a/support/regression/Makefile
+++ b/support/regression/Makefile
@@ -41,7 +41,7 @@
.SILENT:
CC = gcc
-CFLAGS = -pipe -ggdb -g -O2
+CFLAGS = -pipe -ggdb -g -Og
CPPFLAGS = -DNO_VARARGS
EXEEXT =
PYTHON = python3.6
diff --git a/support/regression/ports/host/spec.mk b/support/regression/ports/host/spec.mk
index 650af25..1f25528 100644
--- a/support/regression/ports/host/spec.mk
+++ b/support/regression/ports/host/spec.mk
@@ -1,6 +1,6 @@
# Port specification for compiling on the host machines version of gcc
SDCC = gcc
-SDCCFLAGS = -pipe -ggdb -g -O2 --std=c99 $(CPPFLAGS) -DPORT_HOST=1 -DREENTRANT= -I$(top_builddir) -I$(top_srcdir)
+SDCCFLAGS = -pipe -ggdb -g -Og --std=c99 $(CPPFLAGS) -DPORT_HOST=1 -DREENTRANT= -I$(top_builddir) -I$(top_srcdir)
SDLDFLAGS =
# disable all warnings:
SDCCFLAGS+= -w