Commit 3dcebd67 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Only use -prefer-non-pic optimization if --without-pic is used.

Afterall, most Linux/*BSD distributions always want PIC.
parent c1bc43f7
...@@ -2,7 +2,9 @@ AC_SUBST([LIBDCA_CFLAGS]) ...@@ -2,7 +2,9 @@ AC_SUBST([LIBDCA_CFLAGS])
dnl avoid -fPIC when possible dnl avoid -fPIC when possible
AC_LIBTOOL_NON_PIC([LIBDCA_CFLAGS="$LIBDCA_CFLAGS -prefer-non-pic"]) AS_IF([test "x${with_pic}" = "xno"],
AC_ARG_ENABLE([fixed], AC_ARG_ENABLE([fixed],
[ --enable-fixed use fixed-point (integer-based) arithmetic]) [ --enable-fixed use fixed-point (integer-based) arithmetic])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment