mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-19 07:37:01 +02:00
chromium: fix cross build with bundled libc++
This commit is contained in:
parent
ee66eadb46
commit
e4668ef856
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue