diff --git a/tools/rbspeex/Makefile b/tools/rbspeex/Makefile index b619ce73fe..2511393833 100644 --- a/tools/rbspeex/Makefile +++ b/tools/rbspeex/Makefile @@ -27,7 +27,7 @@ ifeq ($(findstring MINGW,$(shell uname)),MINGW) CC = gcc endif -ifeq ($(findstring Darwin,$(shell uname)),Darwin) +ifdef ARCH ARCH_CMD = -arch $(ARCH) endif