]> git.pld-linux.org Git - packages/dshowserver.git/commitdiff
- allow passing OPTFLAGS
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 3 Nov 2008 09:50:52 +0000 (09:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dshowserver-optflags.patch -> 1.1

dshowserver-optflags.patch [new file with mode: 0644]

diff --git a/dshowserver-optflags.patch b/dshowserver-optflags.patch
new file mode 100644 (file)
index 0000000..ee1c76e
--- /dev/null
@@ -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
This page took 0.060639 seconds and 4 git commands to generate.