aboutsummaryrefslogtreecommitdiff
path: root/lib/libsquish
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libsquish')
-rw-r--r--lib/libsquish/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libsquish/Makefile.in b/lib/libsquish/Makefile.in
index ffb2886765..f7b3cc1621 100644
--- a/lib/libsquish/Makefile.in
+++ b/lib/libsquish/Makefile.in
@@ -25,7 +25,7 @@ NATIVE_LIB=libsquish-native.so
CLEAN_FILES+=$(NATIVE_LIB)
ifeq ($(findstring Darwin,$(shell uname -s)),Darwin)
-NATIVE_ARCH=$(shell echo $(CXXFLAGS) | grep x86_64 >/dev/null && echo -m64 || echo -m32)
+NATIVE_ARCH=@DARWIN_NATIVE_ARCH@
endif
all: $(LIB) $(NATIVE_LIB)