1 From 28145b46649165b94666ee585d064b41306e10fd Mon Sep 17 00:00:00 2001
2 From: Alex Suykov <alex.suykov@gmail.com>
3 Date: Sat, 10 Jan 2015 11:55:32 +0100
4 Subject: [PATCH newt 2/2] Remove bogus -I/usr/include/slang from CPPFLAGS
6 Hardcoding -I/usr/include/slang in CPPFLAGS is bogus for
7 cross-compilation. With recent versions of slang, the headers are
8 installed in ${sysroot}/usr/include directly, so there is no need for
9 an additional flag. And if one was needed, it should be added by the
10 configure script, after detecting the right header location.
12 Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
13 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 1 file changed, 1 insertion(+), 1 deletion(-)
18 diff --git a/Makefile.in b/Makefile.in
19 index 17853e0..d32d784 100644
22 @@ -5,7 +5,7 @@ CC = @CC@
26 -CPPFLAGS = -D_GNU_SOURCE -I/usr/include/slang @CPPFLAGS@
27 +CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@