Skip to content

Commit ceffed3

Browse files
linuxholictohojo
authored andcommitted
Update configure
move generated object file to TMPDIR in check_bpf_use_errno() Signed-off-by: yangpeng <yangpengxdu@gmail.com>
1 parent 2a2c3d9 commit ceffed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ check_bpf_use_errno()
169169
int dummy(void *ctx) { return 0; }
170170
EOF
171171

172-
compile_err=$($CLANG -target bpf ${ARCH_INCLUDES} -c $TMPDIR/bpf_use_errno_test.c 2>&1)
172+
compile_err=$($CLANG -target bpf ${ARCH_INCLUDES} -c $TMPDIR/bpf_use_errno_test.c -o $TMPDIR/bpf_use_errno_test 2>&1)
173173
if [ "$?" -ne "0" ]; then
174174
echo "*** ERROR - Clang BPF-prog cannot include <errno.h>"
175175
echo " - Install missing userspace header file"

0 commit comments

Comments
 (0)