more -fcommon for boot programs.

This commit is contained in:
mrg 2021-04-15 01:54:38 +00:00
parent faefc63d20
commit 5def991c6d
4 changed files with 11 additions and 6 deletions

View File

@ -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 BINDIR= /usr/mdec
release: release:
S?= ${.CURDIR}/../../../.. S?= ${.CURDIR}/../../../..
COPTS+= -fcommon

View File

@ -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}/../../../.. S?= ${.CURDIR}/../../../..
MDEC_DIR?= /usr/mdec MDEC_DIR?= /usr/mdec
RELOC?= 0x3F0000 RELOC?= 0x3F0000
COPTS?= -Os -Wall -Wno-main -Wmissing-prototypes -Wstrict-prototypes \ 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?= DEFS?=
STRIPFLAG?= STRIPFLAG?=

View File

@ -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 NOPIE= # defined
BINDIR?= /usr/mdec BINDIR?= /usr/mdec
COPTS+= -fcommon
# XXX SHOULD NOT NEED TO DEFINE THESE! # XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0= LIBCRT0=
LIBCRTI= LIBCRTI=

View File

@ -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