2009-12-13 Vladimir Serbinenko <phcoder@gmail.com>

Prevent generation of .note.gnu.build-id which drastically increases
	memory requirements of example kernel.

	* docs/Makefile.am (kernel_LDFLAGS): Add '-Wl,--build-id=none'.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-12-14 00:16:23 +01:00
parent dcee2f33c2
commit dd370d33f3
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2009-12-13 Vladimir Serbinenko <phcoder@gmail.com>
Prevent generation of .note.gnu.build-id which drastically increases
memory requirements of example kernel.
* docs/Makefile.am (kernel_LDFLAGS): Add '-Wl,--build-id=none'.
2009-12-13 Vladimir Serbinenko <phcoder@gmail.com>
* BUGS: New file.

View file

@ -11,7 +11,7 @@ noinst_PROGRAMS = kernel
kernel_SOURCES = $(EXAMPLES)
kernel_CFLAGS = -fno-builtin -nostdinc -O -g -Wall \
-imacros $(top_builddir)/config.h
kernel_LDFLAGS = -nostdlib -Wl,-N -Wl,-Ttext -Wl,100000
kernel_LDFLAGS = -nostdlib -Wl,-N -Wl,-Ttext -Wl,100000 -Wl,--build-id=none
boot.o: multiboot.h
endif