mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-03 20:54:42 +02:00
License-Update: Remove trailing whitespace * Refresh patches * Add a patch to skip checking PYTHONHASHSEED * Enable cmocka bundled library to fix build error Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
From 82dc31b72e77f263574645092ba1597a8f1152e7 Mon Sep 17 00:00:00 2001
|
|
From: Wang Mingyu <wangmy@cn.fujitsu.com>
|
|
Date: Fri, 25 Dec 2020 15:10:58 +0900
|
|
Subject: [PATCH] avoid attr unless wanted
|
|
|
|
---
|
|
lib/replace/wscript | 4 +---
|
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
|
|
|
diff --git a/lib/replace/wscript b/lib/replace/wscript
|
|
index 21a746a..6be3276 100644
|
|
--- a/lib/replace/wscript
|
|
+++ b/lib/replace/wscript
|
|
@@ -968,8 +968,6 @@ def build(bld):
|
|
if not bld.CONFIG_SET('HAVE_INET_ATON'): REPLACE_SOURCE += ' inet_aton.c'
|
|
if not bld.CONFIG_SET('HAVE_INET_NTOP'): REPLACE_SOURCE += ' inet_ntop.c'
|
|
if not bld.CONFIG_SET('HAVE_INET_PTON'): REPLACE_SOURCE += ' inet_pton.c'
|
|
- if not bld.CONFIG_SET('HAVE_GETXATTR') or bld.CONFIG_SET('XATTR_ADDITIONAL_OPTIONS'):
|
|
- REPLACE_SOURCE += ' xattr.c'
|
|
|
|
if not bld.CONFIG_SET('HAVE_CLOSEFROM'):
|
|
REPLACE_SOURCE += ' closefrom.c'
|
|
@@ -984,7 +982,7 @@ def build(bld):
|
|
# hide_symbols=bld.BUILTIN_LIBRARY('replace'),
|
|
private_library=True,
|
|
provide_builtin_linking=True,
|
|
- deps='dl attr' + extra_libs)
|
|
+ deps='dl' + extra_libs)
|
|
|
|
replace_test_cflags = ''
|
|
if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'):
|
|
--
|
|
2.25.1
|
|
|