mirror of
https://git.yoctoproject.org/poky
synced 2026-03-03 22:09:39 +01:00
Drop 0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch Drop 0001-musl-obstack-fts.patch (upstream has fixed the issues). Drop a few other chunks where upstream has fixed the issues or removed the code being patched. Adjust ptests to pass again. (From OE-Core rev: d358212bb557c99b266a0022ce973782c8c4d260) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
38 lines
1.5 KiB
Diff
38 lines
1.5 KiB
Diff
From dfe11e043cd8ea0b0f0252bcff9f5a6b98c0ecd3 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Date: Mon, 22 Jun 2020 21:35:16 +0000
|
|
Subject: [PATCH] config/eu.am: do not use -Werror
|
|
|
|
Due to re-definition of error() on musl, gcc starts throwing
|
|
errors where none happen with glibc. Since upstream is not
|
|
likely to be interested in musl builds, lets just disable
|
|
Werror.
|
|
|
|
Upstream-Status: Inappropriate [oe core specific]
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
|
|
---
|
|
config/eu.am | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/config/eu.am b/config/eu.am
|
|
index 6c3c444..3bc0dc9 100644
|
|
--- a/config/eu.am
|
|
+++ b/config/eu.am
|
|
@@ -73,7 +73,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
|
|
-Wold-style-definition -Wstrict-prototypes -Wtrampolines \
|
|
$(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
|
|
$(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
|
|
- $(if $($(*F)_no_Werror),,-Werror) \
|
|
$(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
|
|
$(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
|
|
$(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \
|
|
@@ -83,7 +82,6 @@ AM_CXXFLAGS = -std=c++11 -Wall -Wshadow \
|
|
-Wtrampolines \
|
|
$(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
|
|
$(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
|
|
- $(if $($(*F)_no_Werror),,-Werror) \
|
|
$(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
|
|
$(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
|
|
$(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \
|