Discussion:
[PATCH]:[Clang] Add -fno-plt, -fplt to ignored flags
(too old to reply)
Jordan Glover via arch-general
2017-07-06 17:38:51 UTC
Permalink
Raw Message
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-Op
Loading...