Skip to content

Commit

Permalink
fix hardfloat
Browse files Browse the repository at this point in the history
  • Loading branch information
cnsilvan committed Sep 20, 2020
1 parent 926268f commit 3db5508
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions UnblockNeteaseMusic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ PKG_USE_MIPS16:=0

GO_PKG:=github.com/cnsilvan/UnblockNeteaseMusic
GO_PKG_LDFLAGS:=-s -w
# https://github.com/openwrt/packages/blob/master/lang/golang/golang-values.mk
# +%Y-%m-%d %H:%M:%S cause compile error
COMPILE_TIME := $(shell TZ=UTC-8 date '+%Y-%m-%d %H:%M:%S')
GO_PKG_LDFLAGS+= \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ if [ "$(uci get unblockneteasemusic.@unblockneteasemusic[0].auto_update)" == "1"
if [ ! -n "$suffix" ]; then
suffix=".zip"
fi

if [ "$suffix" == "hardfloat" ]; then
suffix=".zip"
fi
if [ -n "$(echo $GOOSS | awk -F/ '{print $1}')" ]; then
GOOS="$(echo $GOOSS | awk -F/ '{print $1}')"
fi
Expand Down

0 comments on commit 3db5508

Please sign in to comment.