Skip to content

Commit

Permalink
fix(Makefile): correct uname -m output matching for mips64el
Browse files Browse the repository at this point in the history
On mips64el, uname -m returns mips64, not mips64el.
  • Loading branch information
MingcongBai authored and fly602 committed Jan 3, 2025
1 parent eaa4ddb commit 70fa0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GOPKG_PREFIX = github.com/linuxdeepin/dde-daemon
GOBUILD = go build $(GO_BUILD_FLAGS)
export GOPATH=$(shell go env GOPATH)

ifneq (${shell uname -m}, mips64el)
ifneq (${shell uname -m}, mips64)
GOBUILD_OPTIONS = -ldflags '-linkmode=external -extldflags "-pie"'
endif

Expand Down

0 comments on commit 70fa0cd

Please sign in to comment.