diff options
author | thorpej <thorpej@pkgsrc.org> | 2003-03-14 23:35:24 +0000 |
---|---|---|
committer | thorpej <thorpej@pkgsrc.org> | 2003-03-14 23:35:24 +0000 |
commit | d6c3cd26ba128baf62ff31855fe3d4e3cec377df (patch) | |
tree | 9239153e0187e0155bd0c29d1170b7567f0b6873 /sysutils/grub/patches/patch-ae | |
parent | f17b2a41920b6a64c044ef7227feb9d9efebfadb (diff) | |
download | pkgsrc-d6c3cd26ba128baf62ff31855fe3d4e3cec377df.tar.gz |
Replace uses of -fno-builtin with -ffreestanding. -ffreestanding also
implies -fno-builtin, but also conveys additional information ("not in
a hosted environment").
This is 1/2 of the fix for PR toolchain/19265.
Diffstat (limited to 'sysutils/grub/patches/patch-ae')
-rw-r--r-- | sysutils/grub/patches/patch-ae | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/grub/patches/patch-ae b/sysutils/grub/patches/patch-ae new file mode 100644 index 00000000000..f6fcf13fc96 --- /dev/null +++ b/sysutils/grub/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1 2003/03/14 23:35:26 thorpej Exp $ + +--- stage1/Makefile.am.orig 2003-03-14 15:23:00.000000000 -0800 ++++ stage1/Makefile.am 2003-03-14 15:23:10.000000000 -0800 +@@ -4,7 +4,7 @@ + CLEANFILES = $(nodist_pkgdata_DATA) + + # We can't use builtins or standard includes. +-AM_ASFLAGS = $(STAGE1_CFLAGS) -fno-builtin -nostdinc ++AM_ASFLAGS = $(STAGE1_CFLAGS) -ffreestanding -nostdinc + LDFLAGS = -nostdlib -Wl,-N,-Ttext,7C00 + + noinst_PROGRAMS = stage1.exec |