From: Alex Suykov Date: Sat, 10 Jan 2015 10:57:39 +0000 (+0100) Subject: remove bogus -I/usr/include/slang from CPPFLAGS X-Git-Tag: r0-52-19~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b0aee15806dd6d62b965b538a8e9019c4f529d4;p=thirdparty%2Fnewt.git remove bogus -I/usr/include/slang from CPPFLAGS Hardcoding -I/usr/include/slang in CPPFLAGS is bogus for cross-compilation. With recent versions of slang, the headers are installed in ${sysroot}/usr/include directly, so there is no need for an additional flag. And if one was needed, it should be added by the configure script, after detecting the right header location. Signed-off-by: Alex Suykov Signed-off-by: Thomas Petazzoni --- diff --git a/Makefile.in b/Makefile.in index 17853e0..d32d784 100644 --- a/Makefile.in +++ b/Makefile.in @@ -5,7 +5,7 @@ CC = @CC@ CPP = @CPP@ CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ -CPPFLAGS = -D_GNU_SOURCE -I/usr/include/slang @CPPFLAGS@ +CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@ GNU_LD = @GNU_LD@ VERSION = @VERSION@