summaryrefslogtreecommitdiffstats
path: root/lib/csu
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1999-03-15 21:56:54 +0000
committerjdp <jdp@FreeBSD.org>1999-03-15 21:56:54 +0000
commit0d2a12bcafeca568584cce7492b8ae0b27b7bd51 (patch)
tree62bdf98492344d9c4f327cd55b9d973e1783ed85 /lib/csu
parent4392417506627ce8b5b054334a26b01501685c23 (diff)
downloadFreeBSD-src-0d2a12bcafeca568584cce7492b8ae0b27b7bd51.zip
FreeBSD-src-0d2a12bcafeca568584cce7492b8ae0b27b7bd51.tar.gz
Add "-fkeep-inline-functions" to CFLAGS so that higher optimization
levels (-O3 and above) won't remove essential code. Many thanks to Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru> for pointing out that it was the optimizer's removal of this code that caused make world with -O3 to break. With this change, make buildworld now completes.
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/amd64/Makefile5
-rw-r--r--lib/csu/i386-elf/Makefile5
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/csu/amd64/Makefile b/lib/csu/amd64/Makefile
index 4d833aa..0fcd091 100644
--- a/lib/csu/amd64/Makefile
+++ b/lib/csu/amd64/Makefile
@@ -1,13 +1,12 @@
#
-# $Id: Makefile,v 1.3 1999/01/09 21:50:56 jdp Exp $
+# $Id: Makefile,v 1.4 1999/03/12 17:33:26 jdp Exp $
#
SRCS= crt1.c crtbegin.c crtend.c crti.S crtn.S
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= gcrt1.o
SOBJS= crtbegin.So crtend.So
-CFLAGS+= -elf
-CFLAGS+= -Wall
+CFLAGS+= -elf -Wall -fkeep-inline-functions
LDFLAGS+= -elf
NOMAN= true
NOPIC= true
diff --git a/lib/csu/i386-elf/Makefile b/lib/csu/i386-elf/Makefile
index 4d833aa..0fcd091 100644
--- a/lib/csu/i386-elf/Makefile
+++ b/lib/csu/i386-elf/Makefile
@@ -1,13 +1,12 @@
#
-# $Id: Makefile,v 1.3 1999/01/09 21:50:56 jdp Exp $
+# $Id: Makefile,v 1.4 1999/03/12 17:33:26 jdp Exp $
#
SRCS= crt1.c crtbegin.c crtend.c crti.S crtn.S
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= gcrt1.o
SOBJS= crtbegin.So crtend.So
-CFLAGS+= -elf
-CFLAGS+= -Wall
+CFLAGS+= -elf -Wall -fkeep-inline-functions
LDFLAGS+= -elf
NOMAN= true
NOPIC= true
OpenPOWER on IntegriCloud