[lldb] Unify target triples across compiler and linker invocations
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 29 Mar 2023 21:53:58 +0000 (14:53 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 29 Mar 2023 21:58:19 +0000 (14:58 -0700)
rdar://107364766

lldb/test/API/macosx/universal64/Makefile

index f763f3a..ea77386 100644 (file)
@@ -18,7 +18,7 @@ fat.arm64.out: fat.arm64.o
        $(CC) -isysroot $(SDKROOT) -target arm64-apple-macosx10.9 -o $@ $<
 
 fat.x86_64.o: main.c
-       $(CC) -isysroot $(SDKROOT) -g -O0 -target x86_64-apple-macosx11 -c -o $@ $<
+       $(CC) -isysroot $(SDKROOT) -g -O0 -target x86_64-apple-macosx10.9 -c -o $@ $<
 
 fat.arm64.o: main.c
-       $(CC) -isysroot $(SDKROOT) -g -O0 -target arm64-apple-macosx11 -c -o $@ $<
+       $(CC) -isysroot $(SDKROOT) -g -O0 -target arm64-apple-macosx10.9 -c -o $@ $<