Skip to content

Commit f41f11b

Browse files
committed
chore: use dae's style to build
Remove the explicit `-trimpath` because it is included in the makefile.
1 parent b6cfa2f commit f41f11b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.SRCINFO

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

PKGBUILD

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: leo <douglarek at gmail dot com>
22
_name=dae
33
pkgname=$_name-git
4-
pkgver=0.6.0.r5.ged50de2
4+
pkgver=0.7.0rc1.r5.g64ebfea
55
pkgrel=1
66
pkgdesc="A Linux lightweight and high-performance transparent proxy solution based on eBPF."
77
arch=('x86_64' 'aarch64')
@@ -37,9 +37,7 @@ prepare() {
3737

3838
build() {
3939
cd "$srcdir/$_name"
40-
export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
41-
export CFLAGS="-fno-stack-protector"
42-
make VERSION="${pkgver}"
40+
BUILD_ARGS="-buildmode=pie -modcacherw" CFLAGS="-fno-stack-protector" make VERSION="${pkgver}"
4341
}
4442

4543
package() {

0 commit comments

Comments
 (0)