Browse Source

added -fPIC for static library generation

pull/866/head
Elear Solutions Dev 7 years ago
parent
commit
b35c8ee3a0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      configure.ac

+ 2
- 0
configure.ac View File

@@ -55,6 +55,8 @@ AC_CHECK_DECLS([_finite], [], [], [[#include <float.h>]])
if test "$ac_cv_have_decl_isnan" = "yes" ; then
AC_TRY_LINK([#include <math.h>], [float f = 0.0; return isnan(f)], [], [LIBS="$LIBS -lm"])
fi
CPPFLAGS="$CPPFLAGS -fPIC"


#check if .section.gnu.warning accepts long strings (for __warn_references)
AC_LANG_PUSH([C])


Loading…
Cancel
Save