net-proxy/dae: add 0.4.0, drop 0.3.0
Signed-off-by: liuyujielol <2073201758GD@gmail.com>
This commit is contained in:
1 parent
57ddfe3b29
commit
bf8e96d584
2 files changed
+6
-3
No files matched your search
@@ -1 +1 @@
|
||||
DIST dae-0.3.0.zip 76622569 BLAKE2B 17d390324e014dce49914a50f1840ed5940cd42ac48849c50f15b8e5b204c7d9c4eac5c0199535b7f30871bacb5b3aa96edf62a23bc325c50bc42180bac04926 SHA512 06908c8bf8fe93fbe34e9ad9bce40f40ce6449d98a8cdef09e291b54516042205e45dd474ee96ec768af3b177a734d5ce387f8198c04e44e225913eebfafe2e8
|
||||
DIST dae-0.4.0.zip 72237641 BLAKE2B 7136ff93d17756819cd2e7687ab5901ba3f2d2833f17a29e72fcf5671697e9e4f40c82ff6cc24c8d087ab34999252ec6960cd3e5e57fead5445a551d846baa3d SHA512 97da65f15c24a5765f69765a4e73bf6185830488c6aab3f38b212ed18675896bb6ed8e5646ddfad8b42767d9c4e6a6c1d80bd3f3c9b8d367a1362bdfa5f8bc27
|
||||
@@ -56,19 +56,22 @@ pkg_pretend() {
|
||||
|
||||
src_prepare() {
|
||||
# Prevent conflicting with the user's flags
|
||||
# https://devmanual.gentoo.org/ebuild-writing/common-mistakes/#-werror-compiler-flag-not-removed
|
||||
sed -i -e 's/-O2//' "${S}/Makefile" || die 'Failed to remove -O2 via sed'
|
||||
sed -i -e 's/-Werror//' "${S}/Makefile" || die 'Failed to remove -Werror via sed'
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
#-flto makes llvm-strip complains
|
||||
#llvm-strip: error: '*/control/bpf_bpfel.o': The file was not recognized as a valid object file
|
||||
filter-lto
|
||||
# for dae's ebpf target
|
||||
# gentoo-zh#3720
|
||||
filter-flags "-march=*" "-mtune=*"
|
||||
append-cflags "-fno-stack-protector"
|
||||
|
||||
emake VERSION="${PV}" GOFLAGS="-buildvcs=false"
|
||||
emake VERSION="${PV}" GOFLAGS="-buildvcs=false -w"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
Reference in new issue
Block a user