aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-08-29 20:43:48 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-08-29 20:43:48 +0000
commite6941708280b47b948ecc58385dcf541fb2ca4e0 (patch)
tree23145d6fcbd419f8842ee9b170a16933677d0a6c /cad
parentaa9a024d6534bd96544e4827df616ee883eff0a5 (diff)
downloadports-e6941708280b47b948ecc58385dcf541fb2ca4e0.tar.gz
ports-e6941708280b47b948ecc58385dcf541fb2ca4e0.zip
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
Notes
Notes: svn path=/head/; revision=546950
Diffstat (limited to 'cad')
-rw-r--r--cad/gmsh/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index b1bf2f3dff46..34d54ee65a6d 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -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