aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-11-10 14:23:54 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-11-10 14:23:54 +0000
commit409ffcc91897dfafbbfba9f43127c39a50c19398 (patch)
tree79e96262bacda07c8ca9ec4d96fb074ddcc38fcb /test
parent7546c21ae10204dee71d2186e6698a3c8dda68cb (diff)
Use cc instead of gcc to compile *.native
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.target2
-rw-r--r--test/Makefile.tests2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile.target b/test/Makefile.target
index ad36ce4a74..acc4092a97 100644
--- a/test/Makefile.target
+++ b/test/Makefile.target
@@ -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
diff --git a/test/Makefile.tests b/test/Makefile.tests
index ad36ce4a74..acc4092a97 100644
--- a/test/Makefile.tests
+++ b/test/Makefile.tests
@@ -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