Fix grub-emu issues on NetBSD, with gcc 4.1.3.

* conf/any-emu.rmk: Remove unnecessary COMMON_CFLAGS.
	* include/grub/emu/misc.h (canonicalize_file_name): New Prototype.
	* kern/misc.c (__enable_execute_stack): Disable on
	GRUB_MACHINE_EMU.
This commit is contained in:
BVK Chaitanya 2010-05-28 19:18:45 +05:30
parent a33075b941
commit fa4b84900a
4 changed files with 12 additions and 3 deletions

View file

@ -1,7 +1,5 @@
# -*- makefile -*-
COMMON_CFLAGS += -nostdinc -isystem $(shell $(TARGET_CC) -print-file-name=include)
kernel_img_RELOCATABLE = yes
pkglib_PROGRAMS = kernel.img
kernel_img_SOURCES = kern/device.c kern/disk.c kern/dl.c kern/env.c \