Skip to content

Commit

Permalink
Skip GPL-only symbols test when cross-compiling
Browse files Browse the repository at this point in the history
This test depends on being able to execute the resulting binary
which will be impossible when cross-compiling.  Instead make a
worst case assumption which allows the build to continue as
recommended by the autoconf manual.

https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Runtime.html

Signed-off-by: Kamil Domański <kamil@domanski.co>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: tuxoko <tuxoko@gmail.com>
Closes openzfs/spl#507
Closes openzfs#4075
  • Loading branch information
kdomanski authored and behlendorf committed Dec 11, 2015
1 parent 0da84d1 commit 61bbbd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/spl-build.m4
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ AC_DEFUN([SPL_AC_TEST_MODULE],
AC_DEFINE([SPL_IS_GPL_COMPATIBLE], [1],
[Define to 1 if GPL-only symbols can be used])
], [
], [
])
])

Expand Down

0 comments on commit 61bbbd9

Please sign in to comment.