When building -static, link with special scrt0.o instead of crt0.o. This

reduces the text size by about 1.5Kbytes.
This commit is contained in:
David Greenman 1995-10-18 04:28:31 +00:00
parent 14c175f7a9
commit 694ae82790
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11557

View File

@ -30,6 +30,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__=2 -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
#define STARTFILE_SPEC \
"%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:%{static:scrt0.o%s}%{!static:crt0.o%s}}}"
#define INCLUDE_DEFAULTS { \
{ "/usr/include", 0 }, \
{ "/usr/include/g++", 1 }, \