From 9fbf8080fb308d9c6dad8c534ad8892c2d715087 Mon Sep 17 00:00:00 2001 From: comex Date: Wed, 21 Jan 2015 17:02:52 -0500 Subject: minor cleanup - stop caring about thumb outside of arch-specific code (and fix makefile bug where files whose names contained 'arm' would always be ldid'd) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d77410c..12b55b9 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ out/inject-asm.S: $(IAR_BINS) Makefile script/gen-inject-asm.sh define define_test out/test-$(1): test/test-$(2).[cm]* $(HEADERS) $(GENERATED) Makefile out/libsubstitute.dylib $(3) -g -o $$@ $$< -Ilib -Isubstrate -Lout -lsubstitute - lipo -info $$@ | grep -q arm && ldid -Sent.plist $$@ || true + lipo -info $$@ | grep -q ':.*:.*arm' && ldid -Sent.plist $$@ || true install_name_tool -change /usr/lib/libsubstitute.dylib '@executable_path/libsubstitute.dylib' $$@ all: out/test-$(1) endef -- cgit v1.2.3