[PATCH]:[Clang] Add -fno-plt,-fplt to ignored flags

Jordan Glover via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 6 10:38:51 PDT 2017


In GCC there is a -fno-plt flag not implemented in Clang which results in compilation failure:

clang-4.0: error: unknown argument: '-fno-plt'

Proposed patch adds -fno-plt and -fplt to existing ignored flags list making it compatible with gcc for package building. You can see more info about those flags in gcc manual:
https://gcc.gnu.org/onlinedocs/gcc-7.1.0/gcc/Code-Gen-Options.html#Code-Gen-Options
Thank you for your attention.
Jordan Glover
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170706/cc3a04f1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fno-plt.patch
Type: text/x-patch
Size: 2188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170706/cc3a04f1/attachment.bin>


More information about the cfe-commits mailing list