[all-commits] [llvm/llvm-project] 923b67: Fix lld standalone build
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Feb 7 09:21:53 PST 2022
Branch: refs/heads/release/14.x
Home: https://github.com/llvm/llvm-project
Commit: 923b67e36917352c1ca1fb1e339dbe5acdc97ddf
https://github.com/llvm/llvm-project/commit/923b67e36917352c1ca1fb1e339dbe5acdc97ddf
Author: Mariusz Ceier <mceier+llvm at gmail.com>
Date: 2022-02-07 (Mon, 07 Feb 2022)
Changed paths:
M lld/ELF/OutputSections.cpp
M llvm/include/llvm/Config/config.h.cmake
M llvm/include/llvm/Config/llvm-config.h.cmake
Log Message:
-----------
Fix lld standalone build
lld/ELF/OutputSections.cpp includes llvm/Config/config.h for
LLVM_ENABLE_ZLIB definition, but llvm/Config/config.h doesn't exist in
standalone build.
To fix this, this patch moves LLVM_ENABLE_ZLIB from config.h to
llvm-config.h and updates OutputSections.cpp to include llvm-config.h
instead of config.h
Reviewed By: MaskRay, mgorny
Differential Revision: https://reviews.llvm.org/D119058
(cherry picked from commit e8bff9ae54a55b4dbfeb6ba55f723abbd81bf494)
More information about the All-commits
mailing list