We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4255c5 commit 52242bcCopy full SHA for 52242bc
Makefile
@@ -8,7 +8,7 @@ EXTENSION := .exe
8
endif
9
10
# if ARCH is not supplied, set default value based on user's system
11
-ARCH ?= $(shell if [ `getconf LONG_BIT` == "64" ]; then echo "x86_64"; else echo "x86"; fi)
+ARCH ?= $(shell if [ `getconf LONG_BIT` -eq "64" ]; then echo "x86_64"; else echo "x86"; fi)
12
13
# set GOARCH based on ARCH
14
ifeq ($(ARCH),x86_64)
0 commit comments