changeset 17381:7af5fe0860a1

This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from libaf's and libmenu's Makefiles and -g from main Makefile.
author rathann
date Fri, 13 Jan 2006 23:38:16 +0000
parents 86e9a4a10456
children c41193ae3343
files Gui/Makefile Makefile libaf/Makefile libmenu/Makefile
diffstat 4 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/Makefile	Fri Jan 13 22:29:11 2006 +0000
+++ b/Gui/Makefile	Fri Jan 13 23:38:16 2006 +0000
@@ -6,8 +6,7 @@
 
 INCDIR  = -I. -I.. -I../loader -I./wm -I./skin $(FREETYPE_INC) $(GTKINC) $(EXTRA_INC) 
 
-OPTIMIZE =  $(OPTFLAGS) \
-            -fexpensive-optimizations -fschedule-insns2 -Wall
+OPTIMIZE =  $(OPTFLAGS)
 
 CFLAGS = $(OPTIMIZE) $(INCDIR) $(DEBUG) 
 
--- a/Makefile	Fri Jan 13 22:29:11 2006 +0000
+++ b/Makefile	Fri Jan 13 23:38:16 2006 +0000
@@ -446,7 +446,7 @@
 $(MENCODER_DEP): version.h help_mp.h
 
 $(PRG_CFG): version.h codec-cfg.c codec-cfg.h
-	$(HOST_CC) $(HOST_CFLAGS) -I. -g codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML $(EXTRA_LIB) $(EXTRA_INC) $(I18NLIBS)
+	$(HOST_CC) $(HOST_CFLAGS) -I. codec-cfg.c mp_msg.c -o $(PRG_CFG) -DCODECS2HTML $(EXTRA_LIB) $(EXTRA_INC) $(I18NLIBS)
 
 install: $(ALL_PRG)
 ifeq ($(VIDIX),yes)
--- a/libaf/Makefile	Fri Jan 13 22:29:11 2006 +0000
+++ b/libaf/Makefile	Fri Jan 13 23:38:16 2006 +0000
@@ -38,7 +38,7 @@
 
 OBJS=$(SRCS:.c=.o)
 
-CFLAGS  = $(OPTFLAGS) -I. -I.. -Wall $(LIBAV_INC) $(EXTRA_INC) -D_GNU_SOURCE
+CFLAGS  = $(OPTFLAGS) -I. -I.. $(LIBAV_INC) $(EXTRA_INC) -D_GNU_SOURCE
 
 ifeq ($(TARGET_OS),MINGW32)
 CFLAGS += -D_IO_H_
--- a/libmenu/Makefile	Fri Jan 13 22:29:11 2006 +0000
+++ b/libmenu/Makefile	Fri Jan 13 23:38:16 2006 +0000
@@ -10,7 +10,7 @@
 endif
 OBJS=$(SRCS:.c=.o)
 
-CFLAGS  = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(EXTRA_INC) -Wall
+CFLAGS  = $(OPTFLAGS) -I. -I.. -I../libmpcodecs $(EXTRA_INC)
 
 .SUFFIXES: .c .o