Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2020 20:43:48 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546950 - head/cad/gmsh
Message-ID:  <202008292043.07TKhmG1016014@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zeising
Date: Sat Aug 29 20:43:48 2020
New Revision: 546950
URL: https://svnweb.freebsd.org/changeset/ports/546950

Log:
  cad/gmsh: Add -fcommon to fix build
  
  Add -fcommon to cad/gmsh to fix the build on current with llvm 11.
  This is a stop-gap measure since an update which fixes the -fno-common issue
  is waiting for approval.
  
  PR:		248996

Modified:
  head/cad/gmsh/Makefile

Modified: head/cad/gmsh/Makefile
==============================================================================
--- head/cad/gmsh/Makefile	Sat Aug 29 20:43:43 2020	(r546949)
+++ head/cad/gmsh/Makefile	Sat Aug 29 20:43:48 2020	(r546950)
@@ -31,6 +31,7 @@ USE_GL=		gl glu
 USE_XORG=	x11 xcursor xext xinerama xfixes xft xrender
 
 CMAKE_ARGS=	-DCMAKE_SKIP_RPATH:BOOL=YES
+CFLAGS+=	-fcommon
 
 OPTIONS_DEFINE=	CGNS DOCS MED OCC SHARED STATIC
 OPTIONS_DEFAULT=	CGNS MED OCC



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