use uname -m instead of uname -p

On my OS X 10.9.5 Mac (AMD64)
uname -m => x86_64
uname -p -> i386
This commit is contained in:
Thomas Bernard 2018-12-11 12:45:23 +01:00 committed by Thomas BERNARD
parent c7e3850b9a
commit 30f6e6bd1f

View File

@ -880,8 +880,8 @@ else
$(DOC_FILES:../%=%)
endif
ifeq ($(PLATFORM),Darwin)
$(ZIP) $(ZIPOPT) -r ../Grafx2.app-$(shell uname -p)-$(API)-$(VERSIONTAG).zip Grafx2.app
cd .. && $(ZIP) $(ZIPOPT) Grafx2.app-$(shell uname -p)-$(API)-$(VERSIONTAG).zip \
$(ZIP) $(ZIPOPT) -r ../Grafx2.app-$(shell uname -m)-$(API)-$(VERSIONTAG).zip Grafx2.app
cd .. && $(ZIP) $(ZIPOPT) Grafx2.app-$(shell uname -m)-$(API)-$(VERSIONTAG).zip \
$(DOC_FILES:../%=%) $(SRCARCH:../%=%)
endif
$(TAR) czf "../grafx2-$(VERSIONTAG)-src.tgz" $(TARTRANSFORM) \