Files
poky/meta/recipes-devtools/diffstat/diffstat/avoid-check-user-break-cc.patch
Wang Mingyu 1342a35b0c diffstat: upgrade 1.65 -> 1.66
avoid-check-user-break-cc.patch
refreshed for 1.66

License-Update: Copyright year updated to 2024.

Changelog:
==========
-improve handling of git diff's
-update install-sh
-improve configure script checks, reducing compiler warnings

(From OE-Core rev: 9e070b444263e7d1e1a88eec62135e77a204bf92)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-03 22:08:26 +00:00

33 lines
1.0 KiB
Diff

From 708c765ffb41ecc734316f69043583312fe444bd Mon Sep 17 00:00:00 2001
From: Kai Kang <kai.kang@windriver.com>
Date: Tue, 15 May 2018 17:17:01 +0800
Subject: [PATCH] diffstat: fix wrong evaluation of CC
Upstream-Status: Inappropriate [oe specific]
m4 function CF_CC_ENV_FLAGS checks whether variable CC contains options '-I', '-U'
and '-D'. It is not suitable for oe that option such as '-D_FORTIFY_SOURCE=2' may
be included in CC. And then CC will be wrongly filtered.
So comment out CF_CC_ENV_FLAGS from function CF_PROG_CC.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
aclocal.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aclocal.m4 b/aclocal.m4
index d4bd283..1b653c4 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1522,7 +1522,7 @@ CF_GCC_VERSION
CF_ACVERSION_CHECK(2.52,
[AC_PROG_CC_STDC],
[CF_ANSI_CC_REQD])
-CF_CC_ENV_FLAGS
+dnl CF_CC_ENV_FLAGS
])dnl
dnl ---------------------------------------------------------------------------
dnl CF_PROG_GROFF version: 3 updated: 2018/01/07 13:16:19