[PATCH] Makefile.am: remove unsafe headers path

2014-12-29 Thread Romain Naour
/usr/local/include is probably not needed and it's unsafe for cross-compilation. Signed-off-by: Romain Naour --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index a9ad5b9..0109e5d 100644 --- a/Makefile.am +++ b/Makefi

[PATCH] Makefile.am: remove unsafe headers path

2015-01-01 Thread Romain Naour
/usr/local/include is probably not needed and it's unsafe for cross-compilation. Signed-off-by: Romain Naour --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index a9ad5b9..0109e5d 100644 --- a/Makefile.am +++ b/Makefi

Re: [PATCH] Makefile.am: remove unsafe headers path

2015-01-10 Thread Romain Naour
Hi, Le 29/12/2014 22:35, Romain Naour a écrit : > /usr/local/include is probably not needed and it's unsafe for > cross-compilation. > > Signed-off-by: Romain Naour > --- > Makefile.am | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff -

Re: [PATCH] Makefile.am: remove unsafe headers path

2015-01-10 Thread Romain Naour
y when headers paths are passed on the command line. For example, on my Fedora host the /usr/local/include is an empty directory, It's not needed to force to use this path in the CFLAGS even for a native build. Or consider using pkg-config to search for headers and libraries (ncurses a

Re: [PATCH] Makefile.am: remove unsafe headers path

2015-01-12 Thread Romain Naour
headers is the purpose of configure script, and if user use a custom/local path then let it define these in CFLAGS. This is what we do when tmux is cross-compiled in Buildroot. See an example here: http://pastebin.com/T6Ng5Bn8 Which dependencies of tmux are assumed to be in /usr/local ?