kumquat-buildroot/package/qlibc/0001-remove-absolute-paths.patch

20 lines
590 B
Diff
Raw Normal View History

Remove absolute paths to host locations
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -85,10 +85,8 @@
## Set path
PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
-CPPFLAGS="$CPPFLAGS -I/usr/include -I/usr/local/include"
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-LDFLAGS="$LDFLAGS -L/usr/lib -L/usr/local/lib"
## Set autoconf setting
#AC_CANONICAL_TARGET