Mercurial > mplayer.hg
changeset 7073:b69ddd4d3bb9
removed -W -Wall -g and other gcc-specific warning/debug options
patch by Joey Parrish <joey@yunamusic.com>
author | arpi |
---|---|
date | Thu, 22 Aug 2002 23:29:46 +0000 |
parents | 113d66d78967 |
children | 136332c7da42 |
files | drivers/Makefile drivers/radeon/Makefile input/Makefile libdha/Makefile libdha/kernelhelper/Makefile libmpcodecs/Makefile linux/Makefile loader/Makefile loader/dshow/Makefile postproc/Makefile vidix/Makefile vidix/drivers/Makefile |
diffstat | 12 files changed, 19 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/drivers/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/drivers/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -1,7 +1,7 @@ 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 @@ -15,7 +15,7 @@ $(CC) $(CFLAGS) $(INCLUDES) -c $(basename $@).c mga_vid_test: mga_vid_test.c - $(CC) -g -O -Wall $(INCLUDES) -o $@ $@.c + $(CC) -O $(INCLUDES) -o $@ $@.c install: mga_vid.o if test ! -d $(MDIR) ; then mkdir -p $(MDIR) ; fi
--- a/drivers/radeon/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/drivers/radeon/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -12,7 +12,7 @@ CPPFLAGS := -D__KERNEL__ -I$(KERNEL_INCLUDES) -CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \ +CFLAGS := $(CPPFLAGS) -O2 \ -fomit-frame-pointer -fno-strict-aliasing -fno-common -ffast-math\ -D__KERNEL__ -DMODULE -include $(KERNEL_INCLUDES)/linux/modversions.h AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS)
--- a/input/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/input/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -6,7 +6,7 @@ SRCS=input.c joystick.c lirc.c OBJS=$(SRCS:.c=.o) -CFLAGS = $(OPTFLAGS) -I. -I.. $(EXTRA_INC) -Wall +CFLAGS = $(OPTFLAGS) -I. -I.. $(EXTRA_INC) .SUFFIXES: .c .o
--- a/libdha/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/libdha/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -14,7 +14,7 @@ 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)
--- a/libdha/kernelhelper/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/libdha/kernelhelper/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -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 @@ $(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
--- a/libmpcodecs/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/libmpcodecs/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -28,7 +28,7 @@ SRCS2=$(ENCODER_SRCS) OBJS2=$(SRCS2:.c=.o) -CFLAGS = -Wall $(OPTFLAGS) -I. -Inative -I.. -I../libmpdemux -I../loader $(EXTRA_INC) +CFLAGS = $(OPTFLAGS) -I. -Inative -I.. -I../libmpdemux -I../loader $(EXTRA_INC) .SUFFIXES: .c .o
--- a/linux/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/linux/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -12,7 +12,7 @@ endif endif -CFLAGS = $(OPTFLAGS) -I. -I.. -Wall +CFLAGS = $(OPTFLAGS) -I. -I.. # -I/usr/X11R6/include/ .SUFFIXES: .c .o
--- a/loader/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/loader/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -16,7 +16,7 @@ # -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
--- a/loader/dshow/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/loader/dshow/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -23,7 +23,7 @@ $(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)
--- a/postproc/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/postproc/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -7,7 +7,7 @@ OBJS=$(SRCS:.c=.o) CS_TEST_OBJS=cs_test.o rgb2rgb.o ../cpudetect.o ../mp_msg.o -CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -Wall $(EXTRA_INC) +CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC) # -I/usr/X11R6/include/ .SUFFIXES: .c .o
--- a/vidix/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/vidix/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -7,7 +7,7 @@ SRCS = vidixlib.c OBJS = $(SRCS:.c=.o) -CFLAGS = $(OPTFLAGS) -W -Wall +CFLAGS = $(OPTFLAGS) .SUFFIXES: .c .o
--- a/vidix/drivers/Makefile Thu Aug 22 23:28:33 2002 +0000 +++ b/vidix/drivers/Makefile Thu Aug 22 23:29:46 2002 +0000 @@ -9,37 +9,37 @@ RADEON_SRCS=radeon_vid.c RADEON_OBJS=radeon_vid.o RADEON_LIBS=-L../../libdha -ldha -lm -RADEON_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W +RADEON_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. RAGE128_VID=rage128_vid.so RAGE128_SRCS=radeon_vid.c RAGE128_OBJS=rage128_vid.o RAGE128_LIBS=-L../../libdha -ldha -RAGE128_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -DRAGE128 +RAGE128_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -DRAGE128 PM3_VID=pm3_vid.so PM3_SRCS=pm3_vid.c PM3_OBJS=pm3_vid.o PM3_LIBS=-L../../libdha -ldha -PM3_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W +PM3_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. MACH64_VID=mach64_vid.so MACH64_SRCS=mach64_vid.c MACH64_OBJS=mach64_vid.o MACH64_LIBS=-L../../libdha -ldha -MACH64_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -DRAGE128 +MACH64_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -DRAGE128 MGA_VID=mga_vid.so MGA_SRCS=mga_vid.c MGA_OBJS=mga_vid.o MGA_LIBS=-L../../libdha -ldha -lm -MGA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W +MGA_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. MGA_CRTC2_VID=mga_crtc2_vid.so MGA_CRTC2_SRCS=mga_vid.c MGA_CRTC2_OBJS=mga_crtc2_vid.o MGA_CRTC2_LIBS=-L../../libdha -ldha -lm -MGA_CRTC2_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -Wall -W -DCRTC2 +MGA_CRTC2_CFLAGS=$(OPTFLAGS) -fPIC -I. -I.. -DCRTC2 all: $(RADEON_VID) $(RAGE128_VID) $(MACH64_VID) $(NVIDIA_VID) $(GENFB_VID) $(MGA_VID) $(MGA_CRTC2_VID) $(PM3_VID)