summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch')
-rw-r--r--meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch16
1 files changed, 7 insertions, 9 deletions
diff --git a/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch b/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch
index d7554f38af..f9c362431c 100644
--- a/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch
+++ b/meta/recipes-support/libgcrypt/files/0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch
@@ -1,7 +1,7 @@
1From 97570ef271ea1fb7b5ca903eec88f68407b0ec76 Mon Sep 17 00:00:00 2001 1From 3c6c10eae0993c8ca60879494c6650f7b8f54ebe Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Wed, 16 Aug 2017 10:44:41 +0800 3Date: Wed, 16 Aug 2017 10:44:41 +0800
4Subject: [PATCH 2/4] libgcrypt: fix building error with '-O2' in sysroot path 4Subject: [PATCH] libgcrypt: fix building error with '-O2' in sysroot path
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -19,23 +19,21 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
19 19
20Rebase to 1.8.0 20Rebase to 1.8.0
21Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 21Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
22
22--- 23---
23 cipher/Makefile.am | 2 +- 24 cipher/Makefile.am | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-) 25 1 file changed, 1 insertion(+), 1 deletion(-)
25 26
26diff --git a/cipher/Makefile.am b/cipher/Makefile.am 27diff --git a/cipher/Makefile.am b/cipher/Makefile.am
27index 95c4510..bd52ec7 100644 28index d644005..1cf5072 100644
28--- a/cipher/Makefile.am 29--- a/cipher/Makefile.am
29+++ b/cipher/Makefile.am 30+++ b/cipher/Makefile.am
30@@ -116,7 +116,7 @@ gost-s-box: gost-s-box.c 31@@ -147,7 +147,7 @@ gost-s-box: gost-s-box.c
31 32
32 33
33 if ENABLE_O_FLAG_MUNGING 34 if ENABLE_O_FLAG_MUNGING
34-o_flag_munging = sed -e 's/-O\([2-9s][2-9s]*\)/-O1/' -e 's/-Ofast/-O1/g' 35-o_flag_munging = sed -e 's/-O\([2-9sg][2-9sg]*\)/-O1/' -e 's/-Ofast/-O1/g'
35+o_flag_munging = sed -e 's/ -O\([2-9s][2-9s]*\) / -O1 /' -e 's/ -Ofast / -O1 /g' 36+o_flag_munging = sed -e 's/ -O\([2-9sg][2-9sg]*\) / -O1 /' -e 's/ -Ofast / -O1 /g'
36 else 37 else
37 o_flag_munging = cat 38 o_flag_munging = cat
38 endif 39 endif
39--
401.8.3.1
41