REmove the need for disable-werror

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-02-07 04:50:30 +01:00
parent ceb294b7ee
commit c3e6233987

View file

@ -20,12 +20,18 @@ kernel_img_SOURCES = kern/device.c kern/disk.c kern/dl.c kern/env.c \
util/console.c util/grub-emu.c util/misc.c \ util/console.c util/grub-emu.c util/misc.c \
util/hostdisk.c util/getroot.c \ util/hostdisk.c util/getroot.c \
\ \
grub_emu_init.c gnulib/progname.c grub_emu_init.c
kernel_img_CFLAGS = $(CPPFLAGS) $(CFLAGS) kernel_img_CFLAGS = $(CPPFLAGS) $(CFLAGS)
kernel_img_LDFLAGS = $(COMMON_LDFLAGS) kernel_img_LDFLAGS = $(COMMON_LDFLAGS)
TARGET_NO_STRIP = yes TARGET_NO_STRIP = yes
TARGET_NO_DYNAMIC_MODULES = yes TARGET_NO_DYNAMIC_MODULES = yes
# progname.c always has warnings. Compile it separately.
pkglib_MODULES += progname.mod
progname_mod_SOURCES = gnulib/progname.c
progname_mod_CFLAGS = $(COMMON_CFLAGS) -Wno-error
progname_mod_LDFLAGS = $(COMMON_LDFLAGS)
# For hostfs.mod. # For hostfs.mod.
pkglib_MODULES += hostfs.mod pkglib_MODULES += hostfs.mod
hostfs_mod_SOURCES = util/hostfs.c hostfs_mod_SOURCES = util/hostfs.c