X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Frules.mk;h=b83049dd30d0d9e8c4d2436244abbbafdbe1c934;hb=a2fc2366ad564f11e705703ed1f42b7dc499a47c;hp=583c25fc89a4f119aa5631efaf77111c59877911;hpb=4e8d0f2f4b4e158963ac78bb7c1356621fb638c0;p=bertos.git diff --git a/bertos/rules.mk b/bertos/rules.mk index 583c25fc..b83049dd 100644 --- a/bertos/rules.mk +++ b/bertos/rules.mk @@ -73,6 +73,12 @@ $(1)_MAP_FLAGS = $$(MAP_FLAGS_EMB) #In embedded we need s19, hex and bin $$(OUTDIR)/$(1).tgt : $$(OUTDIR)/$(1).s19 $$(OUTDIR)/$(1).hex $$(OUTDIR)/$(1).bin else +#On Darwin architecture the assembly doesn't link correctly if this flag is setted. +ifeq ($(shell uname | grep -c "Darwin"),1) +LIST_FLAGS = "" +MAP_FLAGS = "" +LDFLAGS = "" +endif #use hosted specific map flags $(1)_MAP_FLAGS = $$(MAP_FLAGS_HOST) #in hosted application we need only executable file.