lpac-jni: Use APP_LDFLAGS instead of cFlags in build.gradle

This commit is contained in:
Peter Cai 2024-01-12 21:29:35 -05:00
parent 58227b0b79
commit 5eda8c63bb
2 changed files with 3 additions and 2 deletions

View file

@ -19,7 +19,7 @@ android {
arguments("-j4") arguments("-j4")
} else { } else {
arguments("-j1") arguments("-j1")
cFlags("-fmacro-prefix-map=${project.projectDir.toString()}=/fake/path/ -Wl,--build-id=none") cFlags("-fmacro-prefix-map=${project.projectDir.toString()}=/fake/path/")
} }
} }
} }

View file

@ -1,2 +1,3 @@
APP_ABI := all APP_ABI := all
APP_SHORT_COMMANDS := true APP_SHORT_COMMANDS := true
APP_LDFLAGS := -Wl,--build-id=none