aboutsummaryrefslogtreecommitdiff
path: root/package/tmux/0001-Makefile.am-remove-unsafe-headers-path.patch
blob: 4a2094577ee5064c0a42ea33a37b7f9f43d67543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 4095ee95141063ff3f91153e84bd029b019b8dad Mon Sep 17 00:00:00 2001
From: Romain Naour <romain.naour@openwide.fr>
Date: Fri, 26 Dec 2014 17:44:15 +0100
Subject: [PATCH] Makefile.am: remove unsafe headers path

/usr/local/include is probably not needed and it's unsafe for
cross-compilation.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index a9ad5b9..0109e5d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,12 +38,12 @@ else
 CFLAGS += -O2
 endif
 if IS_GCC4
-CPPFLAGS += -iquote. -I/usr/local/include
+CPPFLAGS += -iquote.
 if IS_DEBUG
 CFLAGS += -Wno-pointer-sign
 endif
 else
-CPPFLAGS += -I. -I- -I/usr/local/include
+CPPFLAGS += -I. -I-
 endif
 endif
 
-- 
1.9.3