package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / sdparm / 0000-makefile-remove-host-headers-include.patch
blob765a81d16bc1cb0c814ac00eb3c89d10664c2590
1 src/Makefile.am: remove host headers incdlue
3 Using host headers is bad for cross compilation. Instead, use the '=' prefix
4 which expands to the current sysroot.
6 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
7 ---
8 diff -Nuar sdparm-1.09-orig/src/Makefile.am sdparm-1.09/src/Makefile.am
9 --- sdparm-1.09-orig/src/Makefile.am 2014-09-23 18:48:44.000000000 +0300
10 +++ sdparm-1.09/src/Makefile.am 2015-02-06 09:33:43.693477667 +0200
11 @@ -41,7 +41,7 @@
12 ../lib/sg_pt_common.c
14 if HAVE_SGUTILS
15 -INCLUDES = -I/usr/include/scsi
16 +INCLUDES = -I=/scsi
17 sdparm_LDADD = @GETOPT_O_FILES@ @os_libs@ @SGUTILS_LIBS@
18 sdparm_DEPENDENCIES = @GETOPT_O_FILES@
19 else