summaryrefslogtreecommitdiffstats
path: root/libdha
diff options
context:
space:
mode:
Diffstat (limited to 'libdha')
-rw-r--r--libdha/Makefile2
-rw-r--r--libdha/kernelhelper/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/libdha/Makefile b/libdha/Makefile
index e829f75ab6..63cf87039f 100644
--- a/libdha/Makefile
+++ b/libdha/Makefile
@@ -14,7 +14,7 @@ LIBNAME = libdha.so.$(VERSION)
SRCS=libdha.c mtrr.c pci.c pci_names.c
OBJS=$(SRCS:.c=.o)
-CFLAGS = $(OPTFLAGS) -fPIC -I. -I.. -Wall -W
+CFLAGS = $(OPTFLAGS) -fPIC -I. -I..
LIBS =
ifeq ($(TARGET_OS),OpenBSD)
ifeq ($(TARGET_ARCH_X86),yes)
diff --git a/libdha/kernelhelper/Makefile b/libdha/kernelhelper/Makefile
index dc0535f362..b03ebd2924 100644
--- a/libdha/kernelhelper/Makefile
+++ b/libdha/kernelhelper/Makefile
@@ -1,6 +1,6 @@
KERNEL_INCLUDES = /usr/src/linux/include
INCLUDES = -I$(KERNEL_INCLUDES)
-CFLAGS = -g -O2 -Wall -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h
+CFLAGS = -O2 -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h
VERSION = $(shell grep UTS_RELEASE $(KERNEL_INCLUDES)/linux/version.h | cut -d '"' -f2)
MDIR = /lib/modules/$(VERSION)/misc
@@ -10,7 +10,7 @@ dhahelper.o: dhahelper.c dhahelper.h
$(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c
test: test.c
- $(CC) -g -O -Wall $(INCLUDES) -o $@ $@.c
+ $(CC) -O $(INCLUDES) -o $@ $@.c
install: dhahelper.o
if test ! -d $(MDIR) ; then mkdir -p $(MDIR) ; fi