From 7aa10b005e51af561b0a070a5ba3b057a6d70a82 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 20 May 1998 17:01:39 +0000 Subject: Copied gcc 2.7.2 style make-exe rule to gcc 2.8 conditional. This lets the makefile work in both cases. --- make/custom/Linux-posix.cfg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'make/custom/Linux-posix.cfg') diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg index 386845747e..38b75fbdef 100644 --- a/make/custom/Linux-posix.cfg +++ b/make/custom/Linux-posix.cfg @@ -89,8 +89,13 @@ define make-exe endef else # -# gcc28 not yet supported +# just use the same make-exe as gcc 272 # +define make-exe + $(CC) -o $@ $(LINK_FILES) $(LD_LIBS) $(LIBC_LIBM) $(LIBC_LIBC) + $(NM) -ng $@ > $(basename $@).num + $(SIZE) $@ +endef endif -- cgit v1.2.3