mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 19:23:03 +01:00
License-Update: MIT changed to X11 (which is MIT plus advertising clause) (From OE-Core rev: dee8f3552cbe1194f97481df4270ca8e9b5113d5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
From 04fd678939ad0c21f57222c48305bfa29c8f6cf3 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 1c653ea..8f0540d 100644
|
|
--- a/aclocal.m4
|
|
+++ b/aclocal.m4
|
|
@@ -1584,7 +1584,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
|