Skip to content
Snippets Groups Projects
Commit 9bd292bd authored by Raymond Toy's avatar Raymond Toy
Browse files

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

As reported gcc 8.1.1 can't produce a working lisp.  gcc 8.3.1 also
fails.  But as reported on cmucl-imp, 2019-04-08, by Juan Pablo Hierro
Alverez, -O1 works.

Use -O1.
parent 04c1bee3
Branches issue-68-use-gcc-o1
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment