diff options
author | Yuhang Zhao <2546789017@qq.com> | 2019-03-30 13:52:48 +0800 |
---|---|---|
committer | Yuhang Zhao <2546789017@qq.com> | 2019-03-30 07:34:30 +0000 |
commit | 387f120bf9d6c718796efe5d0db772abc71ab442 (patch) | |
tree | 7e5d70249e47f12c16001c0da04c40000148e600 /qmake/main.cpp | |
parent | 20b7e18146e28e73cba52a63a3415c6828f1f6f5 (diff) |
Fix cross compile on Ubuntu
When cross compiling on Ubuntu with LTO enabled, the linker will complain about the "-fno-fat-objects" parameter even if the "-fuse-linker-plugin" is passed it.
But if the "-fno-fat-objects" parameter is removed, the linker will complain about "don't support linker plugin in this mode".
Remove both parameters can fix this.
Change-Id: I2d792ca70737f2e82a360bfc597f2b110513b954
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'qmake/main.cpp')
0 files changed, 0 insertions, 0 deletions