Skip to content

Commit c27dabf

Browse files
author
Dave Anderson
committed
Removed -Werror from the bfd and opcode library builds.
([email protected])
1 parent e4fbec3 commit c27dabf

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

gdb-7.6.patch

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2299,3 +2299,27 @@ diff -up gdb-7.6/bfd/elf64-ppc.c.orig gdb-7.6/bfd/elf64-ppc.c
22992299

23002300
do_cleanups (old_chain);
23012301
}
2302+
diff -up gdb-7.6/bfd/configure.orig gdb-7.6/bfd/configure
2303+
--- gdb-7.6/bfd/configure.orig 2017-02-17 17:19:51.654898822 -0500
2304+
+++ gdb-7.6/bfd/configure 2017-02-17 17:19:57.922038757 -0500
2305+
@@ -12193,7 +12193,7 @@ fi
2306+
2307+
NO_WERROR=
2308+
if test "${ERROR_ON_WARNING}" = yes ; then
2309+
- GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
2310+
+ GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS"
2311+
NO_WERROR="-Wno-error"
2312+
fi
2313+
2314+
diff -up gdb-7.6/opcodes/configure.orig gdb-7.6/opcodes/configure
2315+
--- gdb-7.6/opcodes/configure.orig 2017-02-17 17:19:08.849943016 -0500
2316+
+++ gdb-7.6/opcodes/configure 2017-02-17 17:19:23.256264699 -0500
2317+
@@ -11539,7 +11539,7 @@ fi
2318+
2319+
NO_WERROR=
2320+
if test "${ERROR_ON_WARNING}" = yes ; then
2321+
- GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
2322+
+ GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS"
2323+
NO_WERROR="-Wno-error"
2324+
fi
2325+

0 commit comments

Comments
 (0)