commit | ff9973a5da5ec5e65bc3f7912df0bdccddf0480d | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <samitolvanen@google.com> | Mon Oct 01 16:21:22 2018 -0700 |
committer | Sami Tolvanen <samitolvanen@google.com> | Tue Oct 02 15:23:17 2018 -0700 |
tree | c9db59f2855cf668c9b2f1bca4dd9b63dc2314ee | |
parent | c4e7788b7adf28f1562964cca2dc5198089e670e [diff] |
ANDROID: arm64: kbuild: only specify code model with LTO for modules This fixes CONFIG_LTO_CLANG for LLVM >= r334571 where LLVMgold actually started respecting the code model flag. Bug: 116819139 Test: builds with LLVM r334571, boots on a device, all modules load Change-Id: I1af9d24ed1b789a40ac1e85bd00e176ff8a68aa5 Signed-off-by: Sami Tolvanen <samitolvanen@google.com>