diff --git a/lldb/test/functionalities/load_unload/Makefile b/lldb/test/functionalities/load_unload/Makefile index 396ead6f8a15..edef3868f728 100644 --- a/lldb/test/functionalities/load_unload/Makefile +++ b/lldb/test/functionalities/load_unload/Makefile @@ -1,9 +1,6 @@ all: a.out liba.dylib libb.dylib libc.dylib libd.dylib -CC ?= gcc -ifeq "$(CC)" "cc" - CC = gcc -endif +CC ?= clang CFLAGS ?=-arch x86_64 -gdwarf-2 -O0 CWD := $(shell pwd) diff --git a/lldb/test/macosx/universal/Makefile b/lldb/test/macosx/universal/Makefile index b9b1177abe8a..f42aee9e3467 100644 --- a/lldb/test/macosx/universal/Makefile +++ b/lldb/test/macosx/universal/Makefile @@ -1,7 +1,4 @@ -CC ?= gcc -ifeq "$(CC)" "cc" - CC = gcc -endif +CC ?= clang testit: testit.i386 testit.x86_64 lipo -create -o testit testit.i386 testit.x86_64