mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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.
This commit is contained in:
parent
a0dd8319bc
commit
c30965b3bd
2 changed files with 4 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue