Usermode - Minor fix to ARCH=native
[tpg/acess2.git] / Usermode / Applications / Makefile.tpl
index 472349c..4f9dde5 100644 (file)
@@ -9,6 +9,7 @@ LDFLAGS += -g
 LDFLAGS += -Map $(_OBJPREFIX)Map.txt
 
 ifneq ($(lastword $(subst -, ,$(basename $(LD)))),ld)
+  comma=,
   LDFLAGS := $(subst -rpath-link ,-Wl$(comma)-rpath-link$(comma),$(LDFLAGS))
   LDFLAGS := $(subst -Map ,-Wl$(comma)-Map$(comma),$(LDFLAGS))
 endif

UCC git Repository :: git.ucc.asn.au