mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Enable Clang's -ftrivial-auto-var-init=zero on 17.1
Just like Android 11+ Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
e26908b9e0
commit
8dbdc0f31e
2 changed files with 22 additions and 0 deletions
|
@ -101,6 +101,7 @@ fi;
|
|||
|
||||
if enterAndClear "build/soong"; then
|
||||
applyPatch "$DOS_PATCHES/android_build_soong/0001-Enable_fwrapv.patch"; #Use -fwrapv at a minimum (GrapheneOS)
|
||||
applyPatch "$DOS_PATCHES/android_build_soong/0002-auto_var_init.patch"; #Enable -ftrivial-auto-var-init=zero (GrapheneOS)
|
||||
fi;
|
||||
|
||||
if enterAndClear "device/qcom/sepolicy-legacy"; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue