Download and build rc

This commit is contained in:
uazo
2023-08-04 01:48:14 -09:00
committed by GitHub
parent c3c67dd092
commit 79219cd1db
+9 -5
View File
@@ -75,10 +75,14 @@ echo -e ${RED} -------- download objdump ${NC}
tools/clang/scripts/update.py --package=objdump
echo -e ${RED} -------- download rc ${NC}
python3 third_party/depot_tools/download_from_google_storage.py \
--no_resume \
--no_auth \
--bucket chromium-browser-clang/rc \
-s build/toolchain/win/rc/win/rc.exe.sha1
cd build/toolchain/win/rc
git clone -q https://github.com/nico/hack
cd hack/res
../../../../../../third_party/llvm-build/Release+Asserts/bin/clang++ \
-std=c++14 rc.cc -Wall \
-Wno-c++11-narrowing -O2 -fno-rtti -fno-exceptions -DNDEBUG \
-o rc-linux64 -fuse-ld=lld -target x86_64-unknown-linux-gnu
cd ../../../../../../
cp build/toolchain/win/rc/hack/res/rc-linux64 build/toolchain/win/rc/linux64/rc