Remove useless CGO flags

This commit is contained in:
nxshock 2021-12-25 13:38:18 +05:00 committed by GitHub
parent d7397c937b
commit 57edb1bd45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
} }