diff options
author | Michael Scheidell <scheidell@FreeBSD.org> | 2012-01-27 09:38:15 +0000 |
---|---|---|
committer | Michael Scheidell <scheidell@FreeBSD.org> | 2012-01-27 09:38:15 +0000 |
commit | 518a404a99cb5010d023f9ddb11eb3e1751ef82e (patch) | |
tree | 6d123277dcaed0bdea2dd231cc4b388f9009fb16 /devel/gdb/files/patch-bfd-configure | |
parent | - Update to 1.3.0 (diff) |
- update to version 7.4
- adds devel/readline as mandatory dependency (the previous version is not compatible anymore)
- fixes a problem with multihread applications (thanks Lee Thomas)
- fixes a misconfiguration issue if the devel/binutils port is installed
PR: ports/164521
Submitted by: maintainer
Approved by: gabor (mentor, implicit)
Notes
Notes:
svn path=/head/; revision=289869
Diffstat (limited to 'devel/gdb/files/patch-bfd-configure')
-rw-r--r-- | devel/gdb/files/patch-bfd-configure | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/gdb/files/patch-bfd-configure b/devel/gdb/files/patch-bfd-configure new file mode 100644 index 000000000000..ed62a66ac0d8 --- /dev/null +++ b/devel/gdb/files/patch-bfd-configure @@ -0,0 +1,17 @@ +--- bfd/configure.orig 2011-03-28 13:18:25.000000000 +0200 ++++ bfd/configure 2012-01-12 16:58:05.000000000 +0100 +@@ -12177,7 +12177,13 @@ + + # Enable -Werror by default when using gcc + if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then +- ERROR_ON_WARNING=yes ++ if test "${CC}" = clang ; then ++ echo "clang compiler - disabling -Werror" ++ ERROR_ON_WARNING=no ++ else ++ echo "gcc compiler - enabling -Werror" ++ ERROR_ON_WARNING=yes ++ fi + fi + + NO_WERROR= |