more -fcommon for boot programs.
This commit is contained in:
parent
faefc63d20
commit
5def991c6d
@ -1,7 +1,9 @@
|
||||
# $NetBSD: Makefile.inc,v 1.16 2009/03/15 06:10:03 tsutsui Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.17 2021/04/15 01:54:38 mrg Exp $
|
||||
|
||||
BINDIR= /usr/mdec
|
||||
|
||||
release:
|
||||
|
||||
S?= ${.CURDIR}/../../../..
|
||||
|
||||
COPTS+= -fcommon
|
||||
|
@ -1,10 +1,11 @@
|
||||
# $NetBSD: Makefile.booters,v 1.26 2017/04/08 19:53:21 christos Exp $
|
||||
# $NetBSD: Makefile.booters,v 1.27 2021/04/15 01:54:39 mrg Exp $
|
||||
|
||||
S?= ${.CURDIR}/../../../..
|
||||
MDEC_DIR?= /usr/mdec
|
||||
RELOC?= 0x3F0000
|
||||
COPTS?= -Os -Wall -Wno-main -Wmissing-prototypes -Wstrict-prototypes \
|
||||
-ffreestanding -fomit-frame-pointer -fno-unwind-tables
|
||||
-ffreestanding -fomit-frame-pointer -fno-unwind-tables \
|
||||
-fcommon
|
||||
DEFS?=
|
||||
STRIPFLAG?=
|
||||
|
||||
|
@ -1,9 +1,11 @@
|
||||
# $NetBSD: Makefile.inc,v 1.3 2019/01/02 03:04:26 tsutsui Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.4 2021/04/15 01:54:39 mrg Exp $
|
||||
|
||||
NOPIE= # defined
|
||||
|
||||
BINDIR?= /usr/mdec
|
||||
|
||||
COPTS+= -fcommon
|
||||
|
||||
# XXX SHOULD NOT NEED TO DEFINE THESE!
|
||||
LIBCRT0=
|
||||
LIBCRTI=
|
||||
|
@ -1,3 +1,3 @@
|
||||
# $NetBSD: Makefile.inc,v 1.3 2020/08/10 07:00:49 rin Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.4 2021/04/15 01:54:39 mrg Exp $
|
||||
|
||||
DBG=-Os -fno-unwind-tables -Wno-attributes
|
||||
DBG=-Os -fno-unwind-tables -Wno-attributes -fcommon
|
||||
|
Loading…
Reference in New Issue
Block a user