mirror of
https://git.yoctoproject.org/meta-security
synced 2026-07-16 03:47:21 +00:00
7c475c26af
Signed-off-by: Armin Kuster <akuster808@gmail.com>
24 lines
717 B
Diff
24 lines
717 B
Diff
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])])
|