chromium: fix cross build with bundled libc++
This commit is contained in:
@@ -104,7 +104,7 @@ _setup_clang() {
|
||||
export BUILD_NM=llvm-nm
|
||||
export BUILD_CFLAGS="-Wno-unknown-warning-option"
|
||||
export BUILD_CXXFLAGS="-Wno-unknown-warning-option"
|
||||
if [[ -n "$CROSS_BUILD" && -n "$build_option_libcxx" ]]; then
|
||||
if [[ -n "$CROSS_BUILD" && -z "$build_option_libcxx" ]]; then
|
||||
CFLAGS+=" --gcc-toolchain=/usr"
|
||||
CFLAGS+=" --sysroot=${XBPS_CROSS_BASE}"
|
||||
CFLAGS+=" -nostdinc"
|
||||
|
||||
Reference in New Issue
Block a user