diff options
-rw-r--r-- | meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb index 13e6fd066c..b113145808 100644 --- a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb +++ b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb | |||
@@ -14,20 +14,6 @@ DEPENDS = "cmake-native lapack gmp mpfr chrpath-native" | |||
14 | PROVIDES = "mongoose graphblas" | 14 | PROVIDES = "mongoose graphblas" |
15 | RPROVIDES:${PN} = "mongoose graphblas" | 15 | RPROVIDES:${PN} = "mongoose graphblas" |
16 | 16 | ||
17 | # The values of $CC, $CXX, and $LD that Bitbake uses have spaces in them which | ||
18 | # causes problems when the SuiteSparse Makefiles try to pass these values on | ||
19 | # the command line. To get around this problem, set these variables to only the | ||
20 | # program name and prepend the rest of the value onto the corresponding FLAGS | ||
21 | # variable. | ||
22 | CFLAGS:prepend := "${@" ".join(d.getVar('CC').split()[1:])} " | ||
23 | export CC := "${@d.getVar('CC').split()[0]}" | ||
24 | |||
25 | CXXFLAGS:prepend := "${@" ".join(d.getVar('CXX').split()[1:])} " | ||
26 | export CXX := "${@d.getVar('CXX').split()[0]}" | ||
27 | |||
28 | LDFLAGS:prepend := "${@" ".join(d.getVar('LD').split()[1:])} " | ||
29 | export LD := "${@d.getVar('LD').split()[0]}" | ||
30 | |||
31 | export CMAKE_OPTIONS = " \ | 17 | export CMAKE_OPTIONS = " \ |
32 | -DCMAKE_INSTALL_PREFIX=${D}${prefix} \ | 18 | -DCMAKE_INSTALL_PREFIX=${D}${prefix} \ |
33 | -DCMAKE_INSTALL_LIBDIR=${baselib} \ | 19 | -DCMAKE_INSTALL_LIBDIR=${baselib} \ |