summaryrefslogtreecommitdiffstats
path: root/libdha
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-22 23:29:46 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-22 23:29:46 +0000
commitddc4bdf2cbc0ac8f1a2a5b2afea30466d503c98c (patch)
treef77510f252accbc833e3c3667ec3d0f32c1c015a /libdha
parent4f5e15a23a00c9874bc03307727678a4adae81c4 (diff)
downloadmpv-ddc4bdf2cbc0ac8f1a2a5b2afea30466d503c98c.tar.bz2
mpv-ddc4bdf2cbc0ac8f1a2a5b2afea30466d503c98c.tar.xz
removed -W -Wall -g and other gcc-specific warning/debug options
patch by Joey Parrish <joey@yunamusic.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7074 b3059339-0415-0410-9bf9-f77b7e298cf2
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