]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
remove bogus -I/usr/include/slang from CPPFLAGS
authorAlex Suykov <alex.suykov@gmail.com>
Sat, 10 Jan 2015 10:57:39 +0000 (11:57 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 19 Jan 2015 10:00:49 +0000 (11:00 +0100)
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 <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile.in

index 17853e011bdb316804bf6a03604abfd50d6c3a66..d32d7843659efa54b0216fc5cc3a71426dc24028 100644 (file)
@@ -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@