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

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

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

Closes #68

See merge request cmucl/cmucl!45
parents 04c1bee3 9bd292bd
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,10 @@ endif ...@@ -44,7 +44,10 @@ endif
CPPFLAGS := $(CPP_DEFINE_OPTIONS) $(CPP_INCLUDE_OPTIONS) CPPFLAGS := $(CPP_DEFINE_OPTIONS) $(CPP_INCLUDE_OPTIONS)
CFLAGS += -Wstrict-prototypes -Wall -g -fno-omit-frame-pointer 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 ASFLAGS = -g
ASSEM_SRC = x86-assem.S 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