SOURCES: dshowserver-optflags.patch (NEW) - allow passing OPTFLAGS
glen
glen at pld-linux.org
Mon Nov 3 10:50:57 CET 2008
Author: glen Date: Mon Nov 3 09:50:57 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- allow passing OPTFLAGS
---- Files affected:
SOURCES:
dshowserver-optflags.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/dshowserver-optflags.patch
diff -u /dev/null SOURCES/dshowserver-optflags.patch:1.1
--- /dev/null Mon Nov 3 10:50:58 2008
+++ SOURCES/dshowserver-optflags.patch Mon Nov 3 10:50:52 2008
@@ -0,0 +1,27 @@
+--- dshowserver-svn82/dshowserver/Makefile~ 2008-11-01 19:03:29.000000000 +0200
++++ dshowserver-svn82/dshowserver/Makefile 2008-11-03 11:44:12.922777646 +0200
+@@ -1,13 +1,13 @@
+ include ../config.mak
+
+ CFLAGS=-I../loader -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D__WINE__ -DNOAVIFILE_HEADERS -DMPLAYER
+-CFLAGS+=-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
++OPTFLAGS:=-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
+
+ ifdef DEBUG
+- CFLAGS+= -g
++ OPTFLAGS+= -g
+ LOADER_OPT = "DEBUG=1"
+ else
+- CFLAGS+= -O2
++ OPTFLAGS+= -O2
+ endif
+ ifdef STATIC
+ STATICBUILD= -static
+@@ -31,6 +31,7 @@
+ REGISTERCODEC = registercodec
+ endif
+
++CFLAGS += $(OPTFLAGS)
+ LIBS += $(EXTRA_LIBS)
+
+ .PHONY: loader
================================================================
More information about the pld-cvs-commit
mailing list