20 lines
320 B
Diff
20 lines
320 B
Diff
|
--- a/Makefile
|
||
|
+++ b/Makefile
|
||
|
@@ -30,6 +30,7 @@
|
||
|
LDSCRIPT := rom16.ld
|
||
|
LDFLAGS := -T $(LDSCRIPT) -nostdlib
|
||
|
OBJCOPY := objcopy
|
||
|
+HOSTCC := $(CC)
|
||
|
|
||
|
ASRCS = sgabios.S
|
||
|
|
||
|
@@ -55,7 +56,7 @@
|
||
|
$(LD) $(LDFLAGS) $(OBJS) -o $@
|
||
|
|
||
|
csum8: csum8.c
|
||
|
- $(CC) -Wall -O2 -o $@ $<
|
||
|
+ $(HOSTCC) -Wall -O2 -o $@ $<
|
||
|
|
||
|
sgabios.o: buildinfo
|
||
|
|