aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-16 00:09:57 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-16 00:09:57 -0400
commita2d2916e3220ec333122afb9cdef0f5c1eda84f7 (patch)
treed06b95f8d7bec5439eb804a3ff3045907a218d31 /Makefile
parente5420471a7364a92521575e7abd3a29a9318001b (diff)
Fixes to get the compiler to build with -O3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 486c3417..44179f7e 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ OS := $(shell uname -s)
OSFLAGS != case $(OS) in *BSD|Darwin) echo '-D_BSD_SOURCE';; Linux) echo '-D_GNU_SOURCE';; *) echo '-D_DEFAULT_SOURCE';; esac
EXTRA=
G=-ggdb
-O=-Og
+O=-O3
CFLAGS=$(CCONFIG) $(INCLUDE_DIRS) $(EXTRA) $(CWARN) $(G) $(O) $(OSFLAGS) $(LTO) \
-DTOMO_HOME='"$(TOMO_HOME)"' -DTOMO_PREFIX='"$(PREFIX)"' -DDEFAULT_C_COMPILER='"$(DEFAULT_C_COMPILER)"'
CFLAGS_PLACEHOLDER="$$(printf '\033[2m<flags...>\033[m\n')"