mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-04-28 03:53:08 -07:00
Fix compilation database generation when sccache is enabled
This commit is contained in:
4
build.py
4
build.py
@@ -431,6 +431,10 @@ def build_all():
|
|||||||
def gen_ide():
|
def gen_ide():
|
||||||
ensure_cargo()
|
ensure_cargo()
|
||||||
|
|
||||||
|
# Do not dump compilation database with ccache
|
||||||
|
if "NDK_CCACHE" in os.environ:
|
||||||
|
os.environ.pop("NDK_CCACHE")
|
||||||
|
|
||||||
# Dump flags for both native and app
|
# Dump flags for both native and app
|
||||||
dump_flags_native()
|
dump_flags_native()
|
||||||
dump_flags_app()
|
dump_flags_app()
|
||||||
|
|||||||
Reference in New Issue
Block a user