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-13 13:11:27 -0700
commitba0e4fefc68ddfc1bbf74aa2628c9e7dc013dc61 (patch)
tree23212158f2c650a07334d13cd5b35bea341b28bb
parentb951434061df650c788d6776a379190385c5e9c1 (diff)
downloadmeta-openembedded-master-next.tar.gz
suitesparse: Do not play with CC and CFLAGSmaster-next
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} \