Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/stand Add -ffreestanding to CFLAGS, so that l...
details: https://anonhg.NetBSD.org/src/rev/7af3208053c3
branches: trunk
changeset: 554453:7af3208053c3
user: he <he%NetBSD.org@localhost>
date: Tue Oct 28 11:41:46 2003 +0000
description:
Add -ffreestanding to CFLAGS, so that libsa prototypes do not conflict
with otherwise built-in functions and prototypes in the new gcc.
diffstat:
sys/arch/atari/stand/bootxx/Makefile.bootxx | 3 ++-
sys/arch/atari/stand/bootxxx/Makefile.bootxxx | 3 ++-
sys/arch/atari/stand/libsa/Makefile | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diffs (51 lines):
diff -r 1407377cf8a7 -r 7af3208053c3 sys/arch/atari/stand/bootxx/Makefile.bootxx
--- a/sys/arch/atari/stand/bootxx/Makefile.bootxx Tue Oct 28 11:38:04 2003 +0000
+++ b/sys/arch/atari/stand/bootxx/Makefile.bootxx Tue Oct 28 11:41:46 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootxx,v 1.2 2003/06/28 14:14:48 he Exp $
+# $NetBSD: Makefile.bootxx,v 1.3 2003/10/28 11:41:46 he Exp $
NOMAN= # defined
@@ -20,6 +20,7 @@
CPPFLAGS+= ${DEFS} ${INCL}
CFLAGS+= -Wall -Wno-uninitialized
CFLAGS+= -fomit-frame-pointer -fno-function-cse -fstrength-reduce
+CFLAGS+= -ffreestanding
.if ${OBJECT_FMT} == "ELF"
LDFLAGS= -static -nostdlib -Wl,-x,-N,-e,bootxx,-Ttext,${LOADADDR}
.else
diff -r 1407377cf8a7 -r 7af3208053c3 sys/arch/atari/stand/bootxxx/Makefile.bootxxx
--- a/sys/arch/atari/stand/bootxxx/Makefile.bootxxx Tue Oct 28 11:38:04 2003 +0000
+++ b/sys/arch/atari/stand/bootxxx/Makefile.bootxxx Tue Oct 28 11:41:46 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootxxx,v 1.1 2003/05/23 21:56:36 leo Exp $
+# $NetBSD: Makefile.bootxxx,v 1.2 2003/10/28 11:41:46 he Exp $
NOMAN= # defined
@@ -22,6 +22,7 @@
CPPFLAGS+= ${DEFS} ${INCL}
CFLAGS+= -fomit-frame-pointer -Wall -fno-function-cse -fstrength-reduce
+CFLAGS+= -ffreestanding
.if ${OBJECT_FMT} == "ELF"
LDFLAGS= -static -nostdlib -Wl,-x,-N,-e,bootxxx,-Ttext,${LOADADDR3}
.else
diff -r 1407377cf8a7 -r 7af3208053c3 sys/arch/atari/stand/libsa/Makefile
--- a/sys/arch/atari/stand/libsa/Makefile Tue Oct 28 11:38:04 2003 +0000
+++ b/sys/arch/atari/stand/libsa/Makefile Tue Oct 28 11:41:46 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2003/08/29 19:50:26 dsl Exp $
+# $NetBSD: Makefile,v 1.23 2003/10/28 11:41:46 he Exp $
LIB= sa
@@ -7,6 +7,7 @@
OBJMACHINE=
CPPFLAGS+= ${DEFS} ${INCL}
+CFLAGS+= -ffreestanding
CFLAGS+= -fomit-frame-pointer -Wall -fno-function-cse -fstrength-reduce
NO_NET=
Home |
Main Index |
Thread Index |
Old Index