summaryrefslogtreecommitdiffstats
path: root/meta-security/recipes-forensic/sleuth/files/fix_host_poison.patch
blob: 03b1fb9e75fdc0f4d44cfa794f376a24d8368099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Upstream-Status: Inappropriate [configuration]

Don't use host include or lib paths in *FLAGS

Signed-off-by: Armin Kuster <akuster808@gmail.com>

Index: configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -84,12 +84,6 @@ AX_PTHREAD([
     LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS"
     CC="$PTHREAD_CC"],[])
 
-dnl Not all compilers include /usr/local in the include and link path
-if test -d /usr/local/include; then
-    CPPFLAGS="$CPPFLAGS -I/usr/local/include"
-    LDFLAGS="$LDFLAGS -L/usr/local/lib"
-fi
-
 dnl Add enable/disable option
 AC_ARG_ENABLE([java],
     [AS_HELP_STRING([--disable-java], [Do not build the java bindings or jar file])])
OpenPOWER on IntegriCloud