diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-05-20 17:01:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-05-20 17:01:39 +0000 |
commit | 7aa10b005e51af561b0a070a5ba3b057a6d70a82 (patch) | |
tree | 27002da2f7901abf07b58a545c74b3f915930731 /make/custom | |
parent | Changed CPP rule per patch from Ralf Corsepius. (diff) | |
download | rtems-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.
Diffstat (limited to 'make/custom')
-rw-r--r-- | make/custom/Linux-posix.cfg | 7 |
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 |