From: Keith Packard Date: Wed, 8 Mar 2023 23:50:19 +0000 (-0800) Subject: altos/draw: Build demos with -O3 to catch more bugs X-Git-Tag: 1.9.18~2^2~83 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=8e82ecb3eddd992c1d351ad7489ae5cbdb761cea altos/draw: Build demos with -O3 to catch more bugs The compiler fails to do a lot of checks in -O0 Signed-off-by: Keith Packard --- diff --git a/src/draw/Makefile b/src/draw/Makefile index 5f70a6ac..2696f300 100644 --- a/src/draw/Makefile +++ b/src/draw/Makefile @@ -125,7 +125,7 @@ LINE_TEST_OBJS=$(LINE_TEST_SRCS:.c=.o) TEST_LIBS=-lXrender -lXext -lX11 -lm -Wl,--gc-sections -CFLAGS=-O0 -g $(WARN_FLAGS) -DVALIDATE -I. +CFLAGS=-O3 -g $(WARN_FLAGS) -DVALIDATE -I. HEADERS=\ ao_draw.h \