projects/aports·blob master · refs

20 lines · 782 B

1--- a/Makefile
2+++ b/Makefile
3@@ -35,7 +35,7 @@ TAR ?= tar
4 BISON ?= bison
5 FLEX ?= flex
6
7-GCC_WARNINGS1=-Wall -Wextra -Werror -Wpointer-arith -Wstrict-prototypes
8+GCC_WARNINGS1=-Wall -Wextra -Wpointer-arith -Wstrict-prototypes
9 GCC_WARNINGS3=-Wno-format-zero-length
10 GCC_WARNINGS=$(GCC_WARNINGS1) $(GCC_WARNINGS2) $(GCC_WARNINGS3)
11 CFLAGS += $(GCC_WARNINGS)
12@@ -70,7 +70,7 @@ CPPFLAGS += -DTHREADS
13 # CFLAGS += -pg
14 # Warning: Using -O3 has been seen to cause core dumps on repositories with
15 # very long revision names - some bounds check gets optimized away. Don't do that.
16-CFLAGS += -O2
17+# CFLAGS += -O2
18 # If your toolchain supports link time optimization this is a cheap speedup
19 # CFLAGS += -flto
20 # Bounds checks at runtime. Not enabled by default for performance reasons