Use cc instead of gcc to compile *.native
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sat, 10 Nov 2001 14:23:54 +0000 (14:23 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sat, 10 Nov 2001 14:23:54 +0000 (14:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1250 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile.target
test/Makefile.tests

index ad36ce4a74110985b437fe862b8e11bcbb344764..acc4092a97d42f2a417b3f7c1df3c0bcb6c3a9ce 100644 (file)
@@ -55,7 +55,7 @@ ifdef PROG
        $(RM) $(PROG).tmp.bc
 
   $(PROG).native: $(OBJS:.o=.c)
-       gcc $(OBJS:.o=.c) -O2 $(LOCAL_CFLAGS) -Wall -o $@
+       $(CC) $(OBJS:.o=.c) -O $(LOCAL_CFLAGS) -lm -o $@
 endif
 
 ## Special target to force target-dependent library to be compiled
index ad36ce4a74110985b437fe862b8e11bcbb344764..acc4092a97d42f2a417b3f7c1df3c0bcb6c3a9ce 100644 (file)
@@ -55,7 +55,7 @@ ifdef PROG
        $(RM) $(PROG).tmp.bc
 
   $(PROG).native: $(OBJS:.o=.c)
-       gcc $(OBJS:.o=.c) -O2 $(LOCAL_CFLAGS) -Wall -o $@
+       $(CC) $(OBJS:.o=.c) -O $(LOCAL_CFLAGS) -lm -o $@
 endif
 
 ## Special target to force target-dependent library to be compiled