diff options
Diffstat (limited to 'net-libs/xdp-tools/files')
-rw-r--r-- | net-libs/xdp-tools/files/1.3.1-no-Werror.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/net-libs/xdp-tools/files/1.3.1-no-Werror.patch b/net-libs/xdp-tools/files/1.3.1-no-Werror.patch index 7545c49b1c2e..fb086f5122b9 100644 --- a/net-libs/xdp-tools/files/1.3.1-no-Werror.patch +++ b/net-libs/xdp-tools/files/1.3.1-no-Werror.patch @@ -1,28 +1,6 @@ Bug: https://bugs.gentoo.org/899744 -diff --git a/configure b/configure -index 62c2f88..230637f 100755 ---- a/configure -+++ b/configure -@@ -249,7 +249,7 @@ int main(int argc, char **argv) { - return 0; - } - EOF -- compile_cmd="$CC -o $TMPDIR/libbpftest $TMPDIR/libbpftest.c -Werror $LIBBPF_CFLAGS $LIBBPF_LDLIBS" -+ compile_cmd="$CC -o $TMPDIR/libbpftest $TMPDIR/libbpftest.c $LIBBPF_CFLAGS $LIBBPF_LDLIBS" - libbpf_err=$($compile_cmd 2>&1) - if [ "$?" -eq "0" ]; then - echo "HAVE_FEATURES+=${config_var}" >>"$CONFIG" -@@ -323,7 +323,7 @@ int main(int argc, char **argv) { - } - EOF - -- libbpf_err=$($CC -o $TMPDIR/libbpftest $TMPDIR/libbpftest.c -Werror $LIBBPF_CFLAGS $LIBBPF_LDLIBS 2>&1) -+ libbpf_err=$($CC -o $TMPDIR/libbpftest $TMPDIR/libbpftest.c $LIBBPF_CFLAGS $LIBBPF_LDLIBS 2>&1) - if [ "$?" -eq "0" ]; then - echo "SYSTEM_LIBBPF:=y" >>$CONFIG - echo "LIBBPF_VERSION=$LIBBPF_VERSION" >>$CONFIG diff --git a/lib/Makefile b/lib/Makefile index 5ee035d..5342ab3 100644 --- a/lib/Makefile |