forked from lijiext/lammps
make KOKKOS library compilation compatible with mode=shared
This commit is contained in:
parent
78468f41d5
commit
9bf47cd9f3
|
@ -4,7 +4,11 @@
|
||||||
ifndef KOKKOS_PATH
|
ifndef KOKKOS_PATH
|
||||||
KOKKOS_PATH=../../lib/kokkos
|
KOKKOS_PATH=../../lib/kokkos
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CXXFLAGS=$(CCFLAGS)
|
CXXFLAGS=$(CCFLAGS)
|
||||||
|
ifeq ($(mode),shared)
|
||||||
|
CXXFLAGS += $(SHFLAGS)
|
||||||
|
endif
|
||||||
|
|
||||||
KOKKOS_VERSION_MAJOR = 3
|
KOKKOS_VERSION_MAJOR = 3
|
||||||
KOKKOS_VERSION_MINOR = 1
|
KOKKOS_VERSION_MINOR = 1
|
||||||
|
|
Loading…
Reference in New Issue