CI: Enable libc++
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/push/lint Pipeline was successful Details

This commit is contained in:
Sameer Rahmani 2023-02-04 21:13:14 +00:00
parent a43e2032ae
commit 1bbdb054b3
Signed by: lxsameer
GPG Key ID: B0A4AF28AB9FD90B
2 changed files with 3 additions and 2 deletions

View File

@ -133,7 +133,6 @@ function build() { ## Builds the project by regenerating the build scripts
local cpus
rm -rf "$BUILD_DIR"
env
build-gen "$@"
pushed_build

View File

@ -354,12 +354,14 @@ function setup_dependencies() {
info "Setting CC to '$CC'"
info "Setting CXX to '$CXX'"
LDFLAGS="-fuse-ld=lld"
CXXFLAGS="-stdlib=libc++ -lc++abi $CXXFLAGS"
LDFLAGS="-fuse-ld=lld $LDFLAGS"
info "Switching to LLD."
export CC
export CXX
export LDFLAGS
export CXXFLAGS
fi
if [ -d "$BDWGC_INSTALL_DIR" ]; then
info "Activating the BDWGC at '$BDWGC_INSTALL_DIR'..."