diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-06-09 21:34:32 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-06-13 13:11:27 -0700 |
commit | ba0e4fefc68ddfc1bbf74aa2628c9e7dc013dc61 (patch) | |
tree | 23212158f2c650a07334d13cd5b35bea341b28bb | |
parent | b951434061df650c788d6776a379190385c5e9c1 (diff) | |
download | meta-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.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} \ |