diff --git a/makefile b/makefile index 11f1aa74c4..5543c0e110 100755 --- a/makefile +++ b/makefile @@ -80,7 +80,7 @@ ifeq ($(filter linux windows macosx ios freebsd,$(platform)),) endif ifeq ($(platform),macosx) - ifneq ($(filter arm arm64,$(arch),) + ifneq ($(filter arm arm64,$(arch)),) x := $(error "please use 'arch=arm' or 'arch=arm64' 'platform=ios' to build for ios-arm") endif endif