Skip to content

Commit 6ed430c

Browse files
committed
build with make no lto with changes
1 parent 5a37eee commit 6ed430c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/actions/action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,14 @@ runs:
12531253
KCFLAGS_EXTRA="-O2"
12541254
# fi
12551255
1256+
# Enable GKI ABI/symbol trimming (match Bazel)
1257+
scripts/config --file "$OUT/.config" -e TRIM_UNUSED_KSYMS
1258+
scripts/config --file "$OUT/.config" --set-str UNUSED_KSYMS_WHITELIST "abi_symbollist.raw"
1259+
1260+
# Enable module protection (match Bazel)
1261+
scripts/config --file "$OUT/.config" -e MODULE_SIG_PROTECT
1262+
scripts/config --file "$OUT/.config" --set-str MODULE_SIG_PROTECT_LIST "protected_module_names_list"
1263+
12561264
scripts/config --file "$OUT/.config" -d LTO
12571265
scripts/config --file "$OUT/.config" -d LTO_CLANG
12581266
scripts/config --file "$OUT/.config" -d LTO_CLANG_FULL

0 commit comments

Comments
 (0)