summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-08-28 20:31:37 -0700
committerScott Gasch <[email protected]>2026-08-28 20:31:37 -0700
commit74f91d7379d8055678dd5c58e7223a228d8a03b0 (patch)
treefd75ed1a5bcadc65e7f8bce29043ddbdc4ef13de /src/GNUmakefile
parent7e762b293d19b9c438a287f9d123e77ee3a5056d (diff)
Default GNUmakefile to a 64-bit (SIXTYFOUR=1) build.
32-bit clang isn't available in this environment, so every build this session has needed the flag passed explicitly anyway; make it the default via ?= (still overridable) rather than requiring it on every invocation. Build-only change, verified byte-identical search behavior (ringers/sd10: 10/11 solved, 46,341,121 nodes, matching head_reference exactly).
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index ef80e95..bba3ee6 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -21,6 +21,13 @@
CC = clang
CXX = clang++
NASM = yasm
+
+# Default to a 64-bit build -- 32-bit clang isn't available in this
+# environment anyway (see CLAUDE.md). Still overridable in principle
+# (e.g. `gmake SIXTYFOUR=` won't un-set it since ?= only fires when
+# unset, but this matches how every build in this session has actually
+# been invoked).
+SIXTYFOUR ?= 1
ifdef OSX
LIBRARIES = -pthread -lc
ifdef SIXTYFOUR