Commit e7e9c87a authored by DidntRead's avatar DidntRead
Browse files

patch: add another build system patch

parent ee9c5267
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
diff --git a/cc/config/global.go b/cc/config/global.go
index a27246e..8d9adf8 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -81,7 +81,6 @@ var (
 		"-Wl,-z,now",
 		"-Wl,--build-id=md5",
 		"-Wl,--warn-shared-textrel",
-		"-Wl,--fatal-warnings",
 		"-Wl,--no-undefined-version",
 		"-Wl,--exclude-libs,libgcc.a",
 		"-Wl,--exclude-libs,libgcc_stripped.a",
+3 −1
Original line number Diff line number Diff line
@@ -17,4 +17,6 @@ patch -p1 <../../vendor/mediatek/patches/hardware_ril.patch
cd ../..
cd build
patch -p1 <../vendor/mediatek/patches/build.patch
cd ..
cd soong
patch -p1 <../../vendor/mediatek/patches/build_soong.patch
cd ../..

patches/uninstall.sh

deleted100644 → 0
+0 −14
Original line number Diff line number Diff line
#!/bin/bash
cd ../../..
cd system/core
git reset --hard && git clean -fd
cd ../..
cd frameworks/native
git reset --hard && git clean -fd
cd ../..
cd frameworks/base
git reset --hard && git clean -fd
cd ../..
cd frameworks/opt/telephony
git reset --hard && git clean -fd
cd ../..