summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-20 17:01:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-20 17:01:39 +0000
commit7aa10b005e51af561b0a070a5ba3b057a6d70a82 (patch)
tree27002da2f7901abf07b58a545c74b3f915930731
parentChanged CPP rule per patch from Ralf Corsepius. (diff)
downloadrtems-7aa10b005e51af561b0a070a5ba3b057a6d70a82.tar.bz2
Copied gcc 2.7.2 style make-exe rule to gcc 2.8 conditional. This
lets the makefile work in both cases.
-rw-r--r--make/custom/Linux-posix.cfg7
1 files changed, 6 insertions, 1 deletions
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