On 10/6/19 3:29 PM, Evgeny Litvinenko wrote:
Signed-off-by: Evgeny Litvinenko evgeny.v.litvinenko@gmail.com
diff --git a/configure.ac b/configure.ac index b9339b90aa..9c3b09eb64 100644 --- a/configure.ac +++ b/configure.ac @@ -941,13 +941,19 @@ case $host_os in ;;
*)
- case $host_cpu in
*i[[3456789]]86*)
DLLFLAGS="$DLLFLAGS -fno-PIC"
LDDLLFLAGS="-fno-PIC" ;;
*)
- case $host_os in
solaris2*) DLLFLAGS="$DLLFLAGS -fPIC" LDDLLFLAGS="-fPIC" ;;
*)
case $host_cpu in
*i[[3456789]]86*)
DLLFLAGS="$DLLFLAGS -fno-PIC"
LDDLLFLAGS="-fno-PIC" ;;
*)
DLLFLAGS="$DLLFLAGS -fPIC"
LDDLLFLAGS="-fPIC" ;;
esac ;; esac AC_CACHE_CHECK([whether we can build a GNU style ELF dll], ac_cv_c_dll_gnuelf, [WINE_TRY_SHLIB_FLAGS([-fPIC -shared -Wl,-Bsymbolic],
We kind of need -fno-PIC. Why doesn't it work? Can it be fixed on the Solaris side?