]> git.proxmox.com Git - mirror_spl.git/commitdiff
Skip GPL-only symbols test when cross-compiling
authorKamil Domański <kamil@domanski.co>
Thu, 10 Dec 2015 10:14:08 +0000 (11:14 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 11 Dec 2015 23:27:56 +0000 (15:27 -0800)
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 zfsonlinux/spl#507
Closes zfsonlinux/zfs#4075

config/spl-build.m4

index daa9eb714897d090efb6492ed2311b243d151b19..748e9e16d0269ce5117c118c67836eeb7b979e1d 100644 (file)
@@ -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])
        ], [
+       ], [
        ])
 ])