summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-06-09 21:34:32 -0700
committerKhem Raj <raj.khem@gmail.com>2025-06-12 06:34:21 -0700
commit08aa05c1aa82e9f2aeea211d08bb0cd34343362b (patch)
tree08dd552f84c39098b12a136bd14b28ae7642a6f8
parent60768e732dd06ea47978b38c50f1c1420ab8e284 (diff)
downloadmeta-openembedded-08aa05c1aa82e9f2aeea211d08bb0cd34343362b.tar.gz
suitesparse: Do not play with CC and CFLAGS
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb14
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"
14PROVIDES = "mongoose graphblas" 14PROVIDES = "mongoose graphblas"
15RPROVIDES:${PN} = "mongoose graphblas" 15RPROVIDES:${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.
22CFLAGS:prepend := "${@" ".join(d.getVar('CC').split()[1:])} "
23export CC := "${@d.getVar('CC').split()[0]}"
24
25CXXFLAGS:prepend := "${@" ".join(d.getVar('CXX').split()[1:])} "
26export CXX := "${@d.getVar('CXX').split()[0]}"
27
28LDFLAGS:prepend := "${@" ".join(d.getVar('LD').split()[1:])} "
29export LD := "${@d.getVar('LD').split()[0]}"
30
31export CMAKE_OPTIONS = " \ 17export CMAKE_OPTIONS = " \
32 -DCMAKE_INSTALL_PREFIX=${D}${prefix} \ 18 -DCMAKE_INSTALL_PREFIX=${D}${prefix} \
33 -DCMAKE_INSTALL_LIBDIR=${baselib} \ 19 -DCMAKE_INSTALL_LIBDIR=${baselib} \