chromium: really fix gn build
This commit is contained in:
parent
25c1773386
commit
7ff0e1f6db
|
@ -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[*]}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue