mirror of
https://github.com/nxshock/simplefileshare.git
synced 2025-01-18 11:11:10 +05:00
Remove useless CGO flags
This commit is contained in:
parent
d7397c937b
commit
57edb1bd45
5
PKGBUILD
5
PKGBUILD
@ -20,11 +20,6 @@ build() {
|
|||||||
|
|
||||||
mv ../file-icon-vectors/dist/icons/high-contrast icons
|
mv ../file-icon-vectors/dist/icons/high-contrast icons
|
||||||
|
|
||||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
|
||||||
export CGO_CFLAGS="${CFLAGS}"
|
|
||||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
|
||||||
export CGO_LDFLAGS="${LDFLAGS}"
|
|
||||||
|
|
||||||
go build -o $pkgname -buildmode=pie -trimpath -ldflags="-linkmode=external -s -w"
|
go build -o $pkgname -buildmode=pie -trimpath -ldflags="-linkmode=external -s -w"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user