Commit 2776c40d authored by Raymond Toy's avatar Raymond Toy

Merge branch 'issue-68-use-gcc-o1' into 'master'

Fix #68: Use -O1 when compiling with gcc now

Closes #68

See merge request !45
parents 04c1bee3 9bd292bd
Pipeline #827 passed with stage
in 18 minutes and 34 seconds
......@@ -44,7 +44,10 @@ endif
CPPFLAGS := $(CPP_DEFINE_OPTIONS) $(CPP_INCLUDE_OPTIONS)
CFLAGS += -Wstrict-prototypes -Wall -g -fno-omit-frame-pointer
CFLAGS += -O2
# gcc 8.1.1 and 8.3.1 (and probably anything after 8.1.1?) won't
# produce a working lisp with -O2. Just use -O1.
CFLAGS += -O1
ASFLAGS = -g
ASSEM_SRC = x86-assem.S
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment