aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorKamil Domański <[email protected]>2015-12-10 11:14:08 +0100
committerBrian Behlendorf <[email protected]>2015-12-11 15:27:56 -0800
commit61bbbd9a775a5517af513e5014edbdd73a32f7e4 (patch)
tree26c59483d84be65bf2af2b353004f083ce567419 /config
parent0da84d1574a9900b8a0a9b73cdc2588407262dfd (diff)
Skip GPL-only symbols test when cross-compiling
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: tuxoko <[email protected]> Closes zfsonlinux/spl#507 Closes zfsonlinux/zfs#4075
Diffstat (limited to 'config')
-rw-r--r--config/spl-build.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4
index daa9eb714..748e9e16d 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -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])
], [
+ ], [
])
])