diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-07-26 08:11:33 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-07-26 08:11:33 +0000 |
commit | 2bd5dbae1f9f5bf02ef48f82ff46b1e8a60b0676 (patch) | |
tree | e839c61be6b0b330ca6cc8cd2f126e90679fc5a6 | |
parent | Delete stray blank line from pkg-plist (diff) |
science/libghemical: Fix C++11 errors on 12
Add CXXFLAGS+=-Wno-c++11-narrowing
-rw-r--r-- | science/libghemical/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/science/libghemical/Makefile b/science/libghemical/Makefile index 3664b05e7eb3..332487ee3b3d 100644 --- a/science/libghemical/Makefile +++ b/science/libghemical/Makefile @@ -39,6 +39,7 @@ LDFLAGS+= -L${LOCALBASE}/lib -lSCbasis -lSCcints -lSCclass \ -lSCrender -lSCscf -lSCscmat -lSCsolvent -lSCstate \ -lSCsymmetry -lSCwfn \ -lgfortran -lpthread -lblas -llapack +CXXFLAGS+= -Wno-c++11-narrowing # fix errors like error: non-constant-expression cannot be narrowed from type 'double' to 'fGL' PLIST_SUB= LIBGHEMICAL_VERSION="${PORTVERSION}" INSTALL_TARGET= install-strip |