Skip to content

Commit ede8058

Browse files
committed
chore: ignore local environment to enable cgo
see: daeuniverse/dae#564
1 parent f41f11b commit ede8058

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.SRCINFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pkgbase = dae-git
22
pkgdesc = A Linux lightweight and high-performance transparent proxy solution based on eBPF.
33
pkgver = 0.7.0rc1.r5.g64ebfea
4-
pkgrel = 1
4+
pkgrel = 2
55
url = https://github.com/daeuniverse/dae
66
arch = x86_64
77
arch = aarch64

PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
_name=dae
33
pkgname=$_name-git
44
pkgver=0.7.0rc1.r5.g64ebfea
5-
pkgrel=1
5+
pkgrel=2
66
pkgdesc="A Linux lightweight and high-performance transparent proxy solution based on eBPF."
77
arch=('x86_64' 'aarch64')
88
url="https://github.com/daeuniverse/dae"
@@ -37,7 +37,7 @@ prepare() {
3737

3838
build() {
3939
cd "$srcdir/$_name"
40-
BUILD_ARGS="-buildmode=pie -modcacherw" CFLAGS="-fno-stack-protector" make VERSION="${pkgver}"
40+
CGO_ENABLED=1 BUILD_ARGS="-buildmode=pie -modcacherw" CFLAGS="-fno-stack-protector" make VERSION="${pkgver}"
4141
}
4242

4343
package() {

0 commit comments

Comments
 (0)