Fix incompatibility with Make 4.3.
+= does not prepend a space if the variable was empty. Source: https://lwn.net/Articles/810071/
This commit is contained in:
committed by
Travis Geiselbrecht
parent
4c39a19583
commit
77f5dac525
@@ -11,8 +11,8 @@ TOBUILDDIR = $(addprefix $(BUILDDIR)/,$(1))
|
||||
TOBOOL = $(if $(filter-out 0 false,$1),true,false)
|
||||
|
||||
COMMA := ,
|
||||
SPACE :=
|
||||
SPACE +=
|
||||
E :=
|
||||
SPACE := $E $E
|
||||
|
||||
# lower case and upper case translation
|
||||
LC = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subst H,h,$(subst I,i,$(subst J,j,$(subst K,k,$(subst L,l,$(subst M,m,$(subst N,n,$(subst O,o,$(subst P,p,$(subst Q,q,$(subst R,r,$(subst S,s,$(subst T,t,$(subst U,u,$(subst V,v,$(subst W,w,$(subst X,x,$(subst Y,y,$(subst Z,z,$1))))))))))))))))))))))))))
|
||||
|
||||
Reference in New Issue
Block a user