2021-03-27 12:43:03 +00:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2021-09-11 19:17:39 +00:00
|
|
|
@@ -279,7 +279,7 @@ int main(int argc, char **argv) {
|
2021-03-27 12:43:03 +00:00
|
|
|
}
|
|
|
|
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
|
2021-09-11 19:17:39 +00:00
|
|
|
@@ -297,7 +297,7 @@ int main(int argc, char **argv) {
|
2021-03-27 12:43:03 +00:00
|
|
|
}
|
|
|
|
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
|