altos/scheme: Don't optimize ao_scheme_make_const
authorKeith Packard <keithp@keithp.com>
Tue, 19 Dec 2017 19:40:08 +0000 (11:40 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 19 Dec 2017 19:40:08 +0000 (11:40 -0800)
Performance isn't interesting, and it's nice to have a bare system
ready for debugging.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/scheme/make-const/Makefile

index 438b6a79eec7f47fb8a1312a6c6a755efbd45973..a8e3a7f5b8ca5487e0ef929abe8afe51d09072f8 100644 (file)
@@ -10,7 +10,7 @@ HDRS=$(SCHEME_HDRS) ao_scheme_os.h
 OBJS=$(SRCS:.c=.o)
 
 CC=cc
 OBJS=$(SRCS:.c=.o)
 
 CC=cc
-CFLAGS=-DAO_SCHEME_MAKE_CONST -O2 -g -I. -Wall -Wextra -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
+CFLAGS=-DAO_SCHEME_MAKE_CONST -O0 -g -I. -Wall -Wextra -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
 
 .c.o:
        $(CC) -c $(CFLAGS) $< -o $@
 
 .c.o:
        $(CC) -c $(CFLAGS) $< -o $@