[elbe-devel] [PATCH 3/4] sdk: add c++ compiler to cross-toolchain
Manuel Traut
manut at linutronix.de
Thu Feb 28 13:30:10 CET 2019
Currently the SDK only includes a C compiler. However
it is common to also have a C++ compiler in a cross-toolchain.
This replaces gcc by g++. gcc will be still installed because
it is a runtime dependency of g++.
Signed-off-by: Manuel Traut <manut at linutronix.de>
---
elbepack/elbeproject.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
index 7fdd1a3f..2546847f 100644
--- a/elbepack/elbeproject.py
+++ b/elbepack/elbeproject.py
@@ -300,7 +300,7 @@ class ElbeProject (object):
triplet = self.xml.defs["triplet"]
try:
- crosstoolchainpkg = "gcc-%s" % self.xml.defs["sdkarch"]
+ crosstoolchainpkg = "g++-%s" % self.xml.defs["sdkarch"]
except KeyError:
raise UnsupportedSDKException(triplet)
--
2.20.1
More information about the elbe-devel
mailing list