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 --- loader/Makefile | 2 +- loader/dshow/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'loader') diff --git a/loader/Makefile b/loader/Makefile index c1035125b0..2fecc01450 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -16,7 +16,7 @@ resource.o registry.o elfdll.o afl.o vfl.o # -fno-omit-frame-pointer works around this gcc-3.0 bug. gcc-2.95.2 is OK. # Note: -D_FILE_OFFSET_BITS=32 is required to disable using mmap64(), # as it's broken in glibc 2.1.2 (bad header) and 2.1.3 (bad code) -WARN_FLAGS = -Wmissing-prototypes -Wimplicit-function-declaration +WARN_FLAGS = CFLAGS=-I. -I.. $(OPTFLAGS) -U_FILE_OFFSET_BITS $(EXTRA_INC) $(WARN_FLAGS) -fno-omit-frame-pointer #CFLAGS=-I. -I.. -O $(WARN_FLAGS) -g #-fno-omit-frame-pointer diff --git a/loader/dshow/Makefile b/loader/dshow/Makefile index c9e26da029..1d4fbc31a0 100644 --- a/loader/dshow/Makefile +++ b/loader/dshow/Makefile @@ -23,7 +23,7 @@ $(LIBNAME): $(OBJS) $(AR) r $(LIBNAME) $(OBJS) test: test.c $(LIBNAME) - $(CC) test.c -Wall $(CFLAGS) -o test -L. -lDS_Filter -L.. -lloader $(ARCH_LIBS) -lstdc++ + $(CC) test.c $(CFLAGS) -o test -L. -lDS_Filter -L.. -lloader $(ARCH_LIBS) -lstdc++ all: $(LIBNAME) -- cgit v1.2.3