mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: add core extension c-plus-plus-compiler which hostdeps on g++-aarch64-linux-gnu and enable it in JetHub family
This commit is contained in:
7
extensions/c-plus-plus-compiler.sh
Normal file
7
extensions/c-plus-plus-compiler.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
# The C++ compiler is no longer included by default in prepare-host.sh.
|
||||
# Enable this extension if you need a C++ compiler during the build.
|
||||
|
||||
function add_host_dependencies__add_arm64_c_plus_plus_compiler() {
|
||||
display_alert "Adding arm64 c++ compiler to host dependencies" "g++" "debug"
|
||||
export EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} g++-aarch64-linux-gnu" # @TODO: convert to array later
|
||||
}
|
||||
Reference in New Issue
Block a user