diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/kconfig/Makefile | 2 | ||||
-rw-r--r-- | util/nvramtool/Makefile.inc | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile index 6cdc845913..75c4ff7a32 100644 --- a/util/kconfig/Makefile +++ b/util/kconfig/Makefile @@ -344,3 +344,5 @@ $(objk)/lxdialog/lxdialog: $(objk)/dochecklxdialog \ $(objk)/lxdialog/%.o: $(srck)/lxdialog/%.c $(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $^ -c -o $@ +$(objk)/%.o: HOSTCFLAGS+=-I$(srck) -I$(objk) +$(objk)/%.o: HOSTCXXFLAGS+=-I$(srck) -I$(objk) diff --git a/util/nvramtool/Makefile.inc b/util/nvramtool/Makefile.inc index 080734c793..0acda04340 100644 --- a/util/nvramtool/Makefile.inc +++ b/util/nvramtool/Makefile.inc @@ -27,10 +27,6 @@ endif ifeq ($(OS_ARCH), NetBSD) NVRAMTOOLLDLFLAGS = -l$(shell uname -p) endif -ifeq ($(OS_ARCH), FreeBSD) -NVRAMTOOLFLAGS += -O2 -g -Wall -W -HOSTCFLAGS = -endif ifeq ($(shell uname -o), Cygwin) NVRAMTOOLFLAGS += -O2 -g -Wall -W -D__GLIBC__ NVRAMTOOLLDFLAGS = -lioperm |