make KOKKOS library compilation compatible with mode=shared

This commit is contained in:
Axel Kohlmeyer 2020-06-05 13:58:11 -04:00
parent 78468f41d5
commit 9bf47cd9f3
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 4 additions and 0 deletions

View File

@ -4,7 +4,11 @@
ifndef KOKKOS_PATH
KOKKOS_PATH=../../lib/kokkos
endif
CXXFLAGS=$(CCFLAGS)
ifeq ($(mode),shared)
CXXFLAGS += $(SHFLAGS)
endif
KOKKOS_VERSION_MAJOR = 3
KOKKOS_VERSION_MINOR = 1