projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5af8252
)
altos/draw: Build demos with -O3 to catch more bugs
author
Keith Packard
<keithp@keithp.com>
Wed, 8 Mar 2023 23:50:19 +0000
(15:50 -0800)
committer
Keith Packard
<keithp@keithp.com>
Thu, 1 Feb 2024 01:50:19 +0000
(17:50 -0800)
The compiler fails to do a lot of checks in -O0
Signed-off-by: Keith Packard <keithp@keithp.com>
src/draw/Makefile
patch
|
blob
|
history
diff --git
a/src/draw/Makefile
b/src/draw/Makefile
index 5f70a6acf04c425f52147b6739fe4b1665d49a75..2696f300d6d0dbf92a4cb5b637df32b6ad01a603 100644
(file)
--- 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
TEST_LIBS=-lXrender -lXext -lX11 -lm -Wl,--gc-sections
-CFLAGS=-O
0
-g $(WARN_FLAGS) -DVALIDATE -I.
+CFLAGS=-O
3
-g $(WARN_FLAGS) -DVALIDATE -I.
HEADERS=\
ao_draw.h \
HEADERS=\
ao_draw.h \