lnav: fix cross from glibc host on 64bit targets

This commit is contained in:
maxice8 2019-01-24 09:37:30 -02:00
parent 43a31b441e
commit b00e0a74d2
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -0,0 +1,29 @@
diff --git a/configure.ac b/configure.ac
index ab74fb7..a57315e 100644
--- configure.ac
+++ configure.ac
@@ -10,23 +10,6 @@ AC_CANONICAL_HOST
AX_CXX_COMPILE_STDCXX_14([noext], [mandatory])
-for defdir in /opt/local /usr/local /usr /; do
- if test -d "$defdir/include"; then
- CPPFLAGS="$CPPFLAGS -I$defdir/include"
- fi
-
- if test -d "$defdir/lib64"; then
- LDFLAGS="$LDFLAGS -L$defdir/lib64"
- fi
- if test -d "$defdir/lib"; then
- LDFLAGS="$LDFLAGS -L$defdir/lib"
- fi
-
- if test -d "$defdir/lib/x86_64-linux-gnu"; then
- LDFLAGS="$LDFLAGS -L$defdir/lib/x86_64-linux-gnu"
- fi
-done
-
dnl abssrcdir is the absolute path to the source base (regardless of where
dnl you are building it)
AS_CASE([x$srcdir],