summaryrefslogtreecommitdiffstats
path: root/loader
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 /loader
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 'loader')
-rw-r--r--loader/Makefile2
-rw-r--r--loader/dshow/Makefile2
2 files changed, 2 insertions, 2 deletions
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)