000-fix_kconfig.patch 633 B

1234567891011121314
  1. --- a/kconf/Makefile
  2. +++ b/kconf/Makefile
  3. @@ -1,9 +1,9 @@
  4. -CFLAGS=-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
  5. +CFLAGS=-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -DKBUILD_NO_NLS
  6. LXDIALOG := lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o
  7. conf: conf.o zconf.tab.o
  8. -mconf_CFLAGS := $(shell ./lxdialog/check-lxdialog.sh -ccflags) -DLOCALE
  9. +mconf_CFLAGS := $(shell ./lxdialog/check-lxdialog.sh -ccflags)
  10. mconf_LDFLAGS := $(shell ./lxdialog/check-lxdialog.sh -ldflags $(CC))
  11. mconf: CFLAGS += $(mconf_CFLAGS)