4a2094577ee5064c0a42ea33a37b7f9f43d67543
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / tmux / 0001-Makefile.am-remove-unsafe-headers-path.patch
1 From 4095ee95141063ff3f91153e84bd029b019b8dad Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@openwide.fr>
3 Date: Fri, 26 Dec 2014 17:44:15 +0100
4 Subject: [PATCH] Makefile.am: remove unsafe headers path
5
6 /usr/local/include is probably not needed and it's unsafe for
7 cross-compilation.
8
9 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
10 ---
11  Makefile.am | 4 ++--
12  1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/Makefile.am b/Makefile.am
15 index a9ad5b9..0109e5d 100644
16 --- a/Makefile.am
17 +++ b/Makefile.am
18 @@ -38,12 +38,12 @@ else
19  CFLAGS += -O2
20  endif
21  if IS_GCC4
22 -CPPFLAGS += -iquote. -I/usr/local/include
23 +CPPFLAGS += -iquote.
24  if IS_DEBUG
25  CFLAGS += -Wno-pointer-sign
26  endif
27  else
28 -CPPFLAGS += -I. -I- -I/usr/local/include
29 +CPPFLAGS += -I. -I-
30  endif
31  endif
32  
33 -- 
34 1.9.3
35