summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch')
-rw-r--r--meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch b/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch
new file mode 100644
index 0000000000..2df2d00185
--- /dev/null
+++ b/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch
@@ -0,0 +1,26 @@
1Upstream-Status: Inappropriate [oe specific]
2
3m4 function CF_CC_ENV_FLAGS checks whether variable CC contains options '-I', '-U'
4and '-D'. It is not suitable for oe that option such as '-D_FORTIFY_SOURCE=2' may
5be included in CC. And then CC will be wrongly filtered.
6
7So comment out CF_CC_ENV_FLAGS from function CF_PROG_CC.
8
9Signed-off-by: Kai Kang <kai.kang@windriver.com>
10---
11 aclocal.m4 | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/aclocal.m4 b/aclocal.m4
15index 420fe83..eb73ea9 100644
16--- a/aclocal.m4
17+++ b/aclocal.m4
18@@ -1114,7 +1114,7 @@ CF_GCC_VERSION
19 CF_ACVERSION_CHECK(2.52,
20 [AC_PROG_CC_STDC],
21 [CF_ANSI_CC_REQD])
22-CF_CC_ENV_FLAGS
23+dnl CF_CC_ENV_FLAGS
24 ])dnl
25 dnl ---------------------------------------------------------------------------
26 dnl CF_PROG_GROFF version: 2 updated: 2015/07/04 11:16:27