svn commit: r350732 - head/devel/gdb

Bryan Drewery bdrewery at FreeBSD.org
Wed Apr 9 18:17:33 UTC 2014


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 /}
 


More information about the svn-ports-head mailing list