Skip to content

Commit

Permalink
Merge pull request #13 from Artemy-Mellanox/topic/compilation-fix
Browse files Browse the repository at this point in the history
Fix AC_KERNEL_CHECKS
  • Loading branch information
yosefe authored Feb 8, 2022
2 parents 025b72a + 49fc98c commit d047bdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions m4/ac_path_kernel_source.m4
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ AC_DEFUN([AC_KERNEL_CHECKS],
-e s/sparc64.*/sparc/ \
-e s/s390x/s390/)
save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="-include $kerneldir/include/linux/compiler_types.h \
-include $kerneldir/include/linux/kconfig.h \
CPPFLAGS="-include $kerneldir/include/linux/kconfig.h \
-include $kerneldir/include/linux/compiler_types.h \
-D__KERNEL__ \
-I$kerneldir/include \
-I$kerneldir/include/uapi \
Expand Down

0 comments on commit d047bdb

Please sign in to comment.