[PATCH] D42992: Simplify libtool compatibility hack
Rafael Avila de Espindola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 16:00:14 PST 2018
espindola created this revision.
espindola added reviewers: ruiu, grimar.
Herald added a subscriber: emaste.
I tested that if I remove "elf" from the message, building a program that uses libtool prints
checking whether to build shared libraries... no
but with this patch it still prints
checking whether to build shared libraries... yes
https://reviews.llvm.org/D42992
Files:
ELF/DriverUtils.cpp
Index: ELF/DriverUtils.cpp
===================================================================
--- ELF/DriverUtils.cpp
+++ ELF/DriverUtils.cpp
@@ -125,12 +125,7 @@
// assume that the linker doesn't support very basic features such as
// shared libraries. Therefore, we need to print out at least "elf".
// Here, we print out all the targets that we support.
- outs() << Config->ProgName << ": supported targets: "
- << "elf32-i386 elf32-iamcu elf32-littlearm elf32-ntradbigmips "
- << "elf32-ntradlittlemips elf32-powerpc elf32-tradbigmips "
- << "elf32-tradlittlemips elf32-x86-64 "
- << "elf64-amdgpu elf64-littleaarch64 elf64-powerpc elf64-tradbigmips "
- << "elf64-tradlittlemips elf64-x86-64\n";
+ outs() << Config->ProgName << ": supported targets: elf\n";
}
// Reconstructs command line arguments so that so that you can re-run
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42992.133100.patch
Type: text/x-patch
Size: 890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180207/739fdcbb/attachment.bin>
More information about the llvm-commits
mailing list