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

Jordan Glover Golden_Miller83 at protonmail.ch
Thu Jul 6 17:38:51 UTC 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


More information about the arch-general mailing list