summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index af6efe9..086b937 100644
--- a/Makefile
+++ b/Makefile
@@ -62,10 +62,10 @@ build: getlibs
@echo "installing: $(EXECUTEABLE)"
@$(GOCMD) install $(EXECUTEABLE)
-build-386: getlibs-noinstall
+build-alix: getlibs-noinstall
@echo "cross-building: $(EXECUTEABLE)"
@mkdir -p bin/linux_386
- @GOARCH=386 CGO_ENABLED=0 $(GOCMD) build -o bin/linux_386/$(EXECUTEABLE) $(EXECUTEABLE)
+ @GOARCH=386 GO386=387 CGO_ENABLED=0 $(GOCMD) build -o bin/linux_386/$(EXECUTEABLE) $(EXECUTEABLE)
clean:
rm -rf pkg/*/$(EXECUTEABLE)