summaryrefslogtreecommitdiff
path: root/mk/internal/rte.build-pre.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/internal/rte.build-pre.mk')
-rw-r--r--mk/internal/rte.build-pre.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/internal/rte.build-pre.mk b/mk/internal/rte.build-pre.mk
index d748189..d5ddbfa 100644
--- a/mk/internal/rte.build-pre.mk
+++ b/mk/internal/rte.build-pre.mk
@@ -30,3 +30,6 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
_BUILD_TARGETS := _prebuild _build _postbuild
+
+comma := ,
+linkerprefix = $(subst -Wl$(comma)-L,-L,$(addprefix -Wl$(comma),$1))