mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-07 14:28:50 +00:00
21 lines
748 B
Diff
21 lines
748 B
Diff
|
--- a/configure
|
||
|
+++ b/configure
|
||
|
@@ -259,7 +259,7 @@ int main(int argc, char **argv) {
|
||
|
}
|
||
|
EOF
|
||
|
|
||
|
- $CC -o $TMPDIR/libbpf_test $TMPDIR/libbpf_test.c $LIBBPF_CFLAGS $LIBBPF_LDLIBS >/dev/null 2>&1
|
||
|
+ $CC -o $TMPDIR/libbpf_test $TMPDIR/libbpf_test.c $LIBBPF_CFLAGS $LIBBPF_LDLIBS $LDFLAGS >/dev/null 2>&1
|
||
|
local ret=$?
|
||
|
|
||
|
rm -f $TMPDIR/libbpf_test.c $TMPDIR/libbpf_test
|
||
|
@@ -277,7 +277,7 @@ int main(int argc, char **argv) {
|
||
|
}
|
||
|
EOF
|
||
|
|
||
|
- $CC -o $TMPDIR/libbpf_sec_test $TMPDIR/libbpf_sec_test.c $LIBBPF_CFLAGS $LIBBPF_LDLIBS >/dev/null 2>&1
|
||
|
+ $CC -o $TMPDIR/libbpf_sec_test $TMPDIR/libbpf_sec_test.c $LIBBPF_CFLAGS $LIBBPF_LDLIBS $LDFLAGS >/dev/null 2>&1
|
||
|
local ret=$?
|
||
|
|
||
|
rm -f $TMPDIR/libbpf_sec_test.c $TMPDIR/libbpf_sec_test
|