[coreboot] New patch to review for coreboot: 6cfd61b buildgcc: Remove the warning options unsupported by cygwin

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Wed Aug 8 11:19:39 CEST 2012


Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1426

-gerrit

commit 6cfd61b37ea1f833243cfce9ef54580aceb9c86c
Author: zbao <fishbaozi at gmail.com>
Date:   Wed Aug 8 19:06:50 2012 +0800

    buildgcc: Remove the warning options unsupported by cygwin
    
    My cygwin hostcc doesn't support
    -Wempty-body -Waddress -Wmissing-field-initializers
    
    Change-Id: I879e05f3bd396b36b327f204252e820552b6e12e
    Signed-off-by: Zheng Bao <zheng.bao at amd.com>
    Signed-off-by: zbao <fishbaozi at gmail.com>
---
 .../acpica-unix-20120420_unknown_warnings.patch    |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch b/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch
index 2aea0b2..d1c954f 100644
--- a/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch
+++ b/util/crossgcc/patches/acpica-unix-20120420_unknown_warnings.patch
@@ -1,12 +1,16 @@
 --- acpica-unix-20120420/source/compiler/Makefile	2012-04-21 04:02:33.000000000 +0800
-+++ acpica-unix-20120420/source/compiler/Makefile	2012-08-08 16:30:14.000000000 +0800
-@@ -261,15 +261,11 @@
++++ acpica-unix-20120420/source/compiler/Makefile	2012-08-08 18:06:11.000000000 +0800
+@@ -257,19 +257,12 @@
+ # gcc 4+ flags
+ #
+ CWARNINGFLAGS += \
+-    -Waddress \
      -Waggregate-return \
      -Wchar-subscripts \
-     -Wempty-body \
+-    -Wempty-body \
 -    -Wlogical-op \
      -Wmissing-declarations \
-     -Wmissing-field-initializers \
+-    -Wmissing-field-initializers \
 -    -Wmissing-parameter-type \
      -Wnested-externs \
 -    -Wold-style-declaration \




More information about the coreboot mailing list