From ddc4bdf2cbc0ac8f1a2a5b2afea30466d503c98c Mon Sep 17 00:00:00 2001 From: arpi Date: Thu, 22 Aug 2002 23:29:46 +0000 Subject: removed -W -Wall -g and other gcc-specific warning/debug options patch by Joey Parrish git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7074 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libdha/Makefile | 2 +- libdha/kernelhelper/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libdha') 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 -- cgit v1.2.3