X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=compiler%2Flibec%2FMakefile;h=0bdd0c223d7ce2eed9b0f261eb17651b385cd021;hb=c3ce3a14c07b63bd471bc8cdcf317a42c6fc4bbd;hp=b1b4c266f6cd6018cbec023092e4e0239472c913;hpb=8484dfe52e7f086a3c3ab82768948b2205813e0d;p=sdk diff --git a/compiler/libec/Makefile b/compiler/libec/Makefile index b1b4c26..0bdd0c2 100755 --- a/compiler/libec/Makefile +++ b/compiler/libec/Makefile @@ -42,8 +42,8 @@ export LD_LIBRARY_PATH = ../../obj/$(PLATFORM)/lib/ export DYLD_LIBRARY_PATH = ../../obj/$(PLATFORM)/lib/ endif ECP := $(call psep,../bootstrap/obj/bin.$(PLATFORM)/ecp) -ECC := $(call psep,../bootstrap/obj/bin.$(PLATFORM)/ecc) -ECS := $(call psep,../bootstrap/obj/bin.$(PLATFORM)/ecs) +ECC := $(call psep,../bootstrap/obj/bin.$(PLATFORM)/ecc)$(if $(CROSS_TARGET), -t $(TARGET_PLATFORM),) +ECS := $(call psep,../bootstrap/obj/bin.$(PLATFORM)/ecs)$(if $(CROSS_TARGET), -t $(TARGET_PLATFORM),) EAR := $(call psep,../../obj/$(PLATFORM)/bin/ear) # BSL CFLAGS