Skip to content

Commit 4d01e3e

Browse files
committed
Don't duplicate -rpath for TBB
1 parent 9f2689e commit 4d01e3e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

make/compiler_flags

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ else
257257
CXXFLAGS_TBB ?= -I $(TBB)/include
258258
endif
259259

260-
LDFLAGS_TBB ?= -Wl,-L,"$(TBB_LIB)" -Wl,-rpath,"$(TBB_LIB)" -Wl,--disable-new-dtags -ltbb
261-
LDLIBS_TBB ?= $(LDFLAGS_TBB)
260+
LDFLAGS_TBB ?= -Wl,-L,"$(TBB_LIB)" -Wl,-rpath,"$(TBB_LIB)" -Wl,--disable-new-dtags
261+
LDLIBS_TBB ?= -ltbb
262262

263263
else
264264

@@ -276,7 +276,7 @@ endif
276276

277277
CXXFLAGS_TBB ?= -I $(TBB)/include
278278
LDFLAGS_TBB ?= -Wl,-L,"$(TBB_BIN_ABSOLUTE_PATH)" -Wl,-rpath,"$(TBB_BIN_ABSOLUTE_PATH)" $(LDFLAGS_FLTO_FLTO) $(LDFLAGS_OPTIM_TBB)
279-
LDLIBS_TBB ?= $(LDFLAGS_TBB)
279+
LDLIBS_TBB ?= -ltbb
280280

281281
endif
282282

0 commit comments

Comments
 (0)