Skip to content

Commit

Permalink
Merge pull request #7 from Rajchowdhury420/patch-1
Browse files Browse the repository at this point in the history
Added MacOS Support (arm - Apple silicon - M1/M2/M3)
  • Loading branch information
hideckies authored Jul 11, 2024
2 parents 56c1001 + 79c4526 commit 296e700
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ server:
$(MAKE) _compile_protobufs
@ echo "[*] Compiling the Go project..."
@ go build -ldflags="-s -w" -trimpath -o ./hermit pkg/server/main.go
@ sudo setcap 'cap_net_bind_service=+ep' ./hermit
@ if [ `uname` != "Darwin" ]; then sudo setcap 'cap_net_bind_service=+ep' ./hermit; fi
@ echo "[+] Done."
@ echo ""
@ echo "Run './hermit --help'"
Expand All @@ -38,7 +38,7 @@ client:
$(MAKE) _compile_protobufs
@ echo "[*] Compiling the Go project..."
@ go build -ldflags="-s -w" -trimpath -o ./hermit-client pkg/client/main.go
@ sudo setcap 'cap_net_bind_service=+ep' ./hermit-client
@ if [ `uname` != "Darwin" ]; then sudo setcap 'cap_net_bind_service=+ep' ./hermit-client; fi
@ echo "[+] Done."
@ echo ""
@ echo "Run './hermit-client --help'"
Expand Down

0 comments on commit 296e700

Please sign in to comment.