Fixes PE-only builds with llvm-mingw. The option is not relevant on mingw. While mingw GCC ignores it, Clags issues an error.
Signed-off-by: Jacek Caban jacek@codeweavers.com --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Jacek Caban jacek@codeweavers.com writes:
Fixes PE-only builds with llvm-mingw. The option is not relevant on mingw. While mingw GCC ignores it, Clags issues an error.
mingw targets should not be building Unix libs. Where is it failing?
On 10/1/21 7:30 PM, Alexandre Julliard wrote:
Jacek Caban jacek@codeweavers.com writes:
Fixes PE-only builds with llvm-mingw. The option is not relevant on mingw. While mingw GCC ignores it, Clags issues an error.
mingw targets should not be building Unix libs. Where is it failing?
It's failing for libs/port:
x86_64-w64-mingw32-gcc -m64 -c -o libs/port/getopt.o ../libs/port/getopt.c -Ilibs/port -I../libs/port -Iinclude -I../include \ -D__WINESRC__ -fPIC -fasynchronous-unwind-tables -Wall -pipe -fcf-protection=none \ -fno-stack-protector -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \ -Wignored-qualifiers -Winit-self -Wno-pragma-pack -Wstrict-prototypes -Wtype-limits \ -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -gdwarf-2 -gstrict-dwarf \ -Wno-format -g -O2 -D_WIN32 clang-13: error: unsupported option '-fPIC' for target 'x86_64-w64-windows-gnu'
Jacek
Jacek Caban jacek@codeweavers.com writes:
On 10/1/21 7:30 PM, Alexandre Julliard wrote:
Jacek Caban jacek@codeweavers.com writes:
Fixes PE-only builds with llvm-mingw. The option is not relevant on mingw. While mingw GCC ignores it, Clags issues an error.
mingw targets should not be building Unix libs. Where is it failing?
It's failing for libs/port:
Ah, right. That one should go away very soon.