chromium: really fix gn build

This commit is contained in:
maxice8 2019-02-24 14:01:22 -03:00
parent 25c1773386
commit 7ff0e1f6db
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
1 changed files with 2 additions and 1 deletions

View File

@ -223,11 +223,12 @@ do_configure() {
aarch64*) conf+=( 'target_cpu="arm64"' ) ;; aarch64*) conf+=( 'target_cpu="arm64"' ) ;;
esac esac
export LDFLAGS="-pthread"
AR="ar" CC=$CC_FOR_BUILD CXX=$CXX_FOR_BUILD LD=$CXX_FOR_BUILD \ AR="ar" CC=$CC_FOR_BUILD CXX=$CXX_FOR_BUILD LD=$CXX_FOR_BUILD \
python2 tools/gn/bootstrap/bootstrap.py -s -v \ python2 tools/gn/bootstrap/bootstrap.py -s -v \
--gn-gen-args "${conf[*]}" --gn-gen-args "${conf[*]}"
export LDFLAGS="-pthread"
out/Release/gn gen out/Release --args="${conf[*]}" out/Release/gn gen out/Release --args="${conf[*]}"
} }