Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions make/compiler_flags
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,6 @@ ifneq ($(OS), Windows_NT)
LDFLAGS_TBB_RPATH ?= -Wl,-rpath,"$(TBB_LIB)"
endif

LDFLAGS_TBB ?= -Wl,-L,"$(TBB_LIB)" $(LDFLAGS_TBB_DTAGS) $(LDFLAGS_TBB_RPATH)

LDLIBS_TBB ?= -ltbb

else

Expand Down Expand Up @@ -342,7 +339,7 @@ endif
# Sets up CXXFLAGS_THREADS to use threading

ifdef STAN_THREADS
CXXFLAGS_THREADS ?= -DSTAN_THREADS
CXXFLAGS_THREADS ?= -DSTAN_THREADS -pthread
endif

################################################################################
Expand Down
2 changes: 1 addition & 1 deletion make/standalone
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ MATH ?= $(realpath $(MATH_MAKE)..)/
# The sundials libraries are only needed for
# programs using the stiff ode solver or the
# algebra solver
MATH_LIBS ?= $(SUNDIALS_TARGETS) $(MPI_TARGETS) $(TBB_TARGETS)
MATH_LIBS ?= $(SUNDIALS_TARGETS) $(MPI_TARGETS)

LDLIBS += $(MATH_LIBS)

Expand Down
Loading
Loading