Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 2015 00:48:29 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288998 - head/lib/clang/libclangbasic
Message-ID:  <201510080048.t980mT03031995@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigc
Date: Thu Oct  8 00:48:29 2015
New Revision: 288998
URL: https://svnweb.freebsd.org/changeset/base/288998

Log:
  Use -fpermissive if compiling with GCC.
  
  Works around GCC bug:
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67888
  when compiling Module.cpp

Modified:
  head/lib/clang/libclangbasic/Makefile

Modified: head/lib/clang/libclangbasic/Makefile
==============================================================================
--- head/lib/clang/libclangbasic/Makefile	Thu Oct  8 00:31:11 2015	(r288997)
+++ head/lib/clang/libclangbasic/Makefile	Thu Oct  8 00:48:29 2015	(r288998)
@@ -47,3 +47,6 @@ TGHDRS=	AttrHasAttributeImpl \
 	arm_neon
 
 .include "../clang.lib.mk"
+
+# XX: work around GCC bug 67888
+CFLAGS.gcc += -fpermissive



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