1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

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
This commit is contained in:
Niclas Zeising 2020-08-29 20:43:48 +00:00
parent aa9a024d65
commit e694170828
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546950

View File

@ -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