From 638f53db32249f821f765e5436f398e9b072d23a Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Thu, 11 Nov 2021 18:28:16 +0000 Subject: [PATCH] RF: Move comma def where it is used --- config/buildSettings.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/buildSettings.mk b/config/buildSettings.mk index 0e28260..454e545 100644 --- a/config/buildSettings.mk +++ b/config/buildSettings.mk @@ -10,9 +10,6 @@ # get system type (Darwin, Linux) SYSTYPE := $(shell uname -s) -# For string substitution -COMMA := , - ##################################################################### # # Standard commands @@ -92,6 +89,7 @@ ARCHNVCCLDFLAGS = # shared libs located in the same dir will # take precedence over libs of the same # name in $FSLDIR/lib/). +COMMA := , _LDFLAGS := $(patsubst -Wl${COMMA}-rpath%,,${LDFLAGS}) LDFLAGS = ${_LDFLAGS} -- GitLab