Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2014 18:17:33 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350732 - head/devel/gdb
Message-ID:  <201404091817.s39IHXPx067767@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Apr  9 18:17:33 2014
New Revision: 350732
URL: http://svnweb.freebsd.org/changeset/ports/350732
QAT: https://qat.redports.org/buildarchive/r350732/

Log:
  - Fix build with clang34
    This has many unused functions and variables and uses -Werror. Don't
    consider those as warnings for now.
  
  Discussed with:	jhb
  Approved by:	maintainer (they approved -no-werror, let's keep other warnings)

Modified:
  head/devel/gdb/Makefile

Modified: head/devel/gdb/Makefile
==============================================================================
--- head/devel/gdb/Makefile	Wed Apr  9 17:56:03 2014	(r350731)
+++ head/devel/gdb/Makefile	Wed Apr  9 18:17:33 2014	(r350732)
@@ -23,7 +23,7 @@ CONFIGURE_ARGS=	--program-suffix=${PORTV
 		--without-libunwind-ia64 \
 		--enable-targets=all
 CFLAGS:=	${CFLAGS:C/ +$//}	# blanks at EOL creep in sometimes
-CFLAGS+=	-DRL_NO_COMPAT
+CFLAGS+=	-DRL_NO_COMPAT -Wno-unused-function -Wno-unused-variable
 EXCLUDE=	dejagnu expect sim texinfo intl
 EXTRACT_AFTER_ARGS=	${EXCLUDE:S/^/--exclude /}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404091817.s39IHXPx067767>