mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
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
This commit is contained in:
parent
7546c21ae1
commit
409ffcc918
@ -55,7 +55,7 @@ ifdef PROG
|
|||||||
$(RM) $(PROG).tmp.bc
|
$(RM) $(PROG).tmp.bc
|
||||||
|
|
||||||
$(PROG).native: $(OBJS:.o=.c)
|
$(PROG).native: $(OBJS:.o=.c)
|
||||||
gcc $(OBJS:.o=.c) -O2 $(LOCAL_CFLAGS) -Wall -o $@
|
$(CC) $(OBJS:.o=.c) -O $(LOCAL_CFLAGS) -lm -o $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
## Special target to force target-dependent library to be compiled
|
## Special target to force target-dependent library to be compiled
|
||||||
|
@ -55,7 +55,7 @@ ifdef PROG
|
|||||||
$(RM) $(PROG).tmp.bc
|
$(RM) $(PROG).tmp.bc
|
||||||
|
|
||||||
$(PROG).native: $(OBJS:.o=.c)
|
$(PROG).native: $(OBJS:.o=.c)
|
||||||
gcc $(OBJS:.o=.c) -O2 $(LOCAL_CFLAGS) -Wall -o $@
|
$(CC) $(OBJS:.o=.c) -O $(LOCAL_CFLAGS) -lm -o $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
## Special target to force target-dependent library to be compiled
|
## Special target to force target-dependent library to be compiled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user