summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_m88k.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_m88k.GNU')
-rw-r--r--include/makeinclude/platform_m88k.GNU2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/makeinclude/platform_m88k.GNU b/include/makeinclude/platform_m88k.GNU
index 87922980df0..8912c2e9bd7 100644
--- a/include/makeinclude/platform_m88k.GNU
+++ b/include/makeinclude/platform_m88k.GNU
@@ -18,7 +18,7 @@ RANLIB = /bin/true
SOFLAGS = -G $(CPPFLAGS)
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $<; \
$(SOLINK.cc) -o $@ -h $@ $(LDFLAGS) $(VSHDIR)$*.o
-PRELIB = (echo "main() { }" > gcctemp.c && \
+PRELIB = (echo "int main() { return 0; }" > gcctemp.c && \
$(COMPILE.cc) -o gcctemp.o gcctemp.c && \
$(LINK.cc) -o gcctemp gcctemp.o $^ $(LDFLAGS) $(LIBS); \
status=$$?; rm -f gcctemp*; exit $$status)