SOURCES: tuvisionlib-opt.patch (NEW) - don't override our optflags

qboosh qboosh at pld-linux.org
Sat Oct 29 19:17:06 CEST 2005


Author: qboosh                       Date: Sat Oct 29 17:17:06 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't override our optflags

---- Files affected:
SOURCES:
   tuvisionlib-opt.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/tuvisionlib-opt.patch
diff -u /dev/null SOURCES/tuvisionlib-opt.patch:1.1
--- /dev/null	Sat Oct 29 19:17:06 2005
+++ SOURCES/tuvisionlib-opt.patch	Sat Oct 29 19:17:01 2005
@@ -0,0 +1,22 @@
+--- tuvisionlib-0.9/acinclude.m4.orig	2004-08-17 17:21:32.000000000 +0200
++++ tuvisionlib-0.9/acinclude.m4	2005-10-29 18:33:27.992796152 +0200
+@@ -186,15 +186,15 @@
+ 
+ AC_DEFUN([TUVISION_DEBUGFLAGS],[
+ 	if test x$debug = xtrue; then
+-	  TUV_CXXDEBUGRELEASEFLAGS="-g3 -DDEBUG -O0"
++	  TUV_CXXDEBUGRELEASEFLAGS="-g3 -DDEBUG"
+ 	  TUV_BUILDDEBUGRELEASELIB="-ltuvisiond"
+ 	else
+-	  TUV_CXXDEBUGRELEASEFLAGS="-O3"
++	  TUV_CXXDEBUGRELEASEFLAGS=""
+ 	  TUV_BUILDDEBUGRELEASELIB="-ltuvision"
+ 	fi
+ 
+-	CXXFLAGS="${TUV_CXXDEBUGRELEASEFLAGS} -Wall"
+-	CFLAGS="${TUV_CXXDEBUGRELEASEFLAGS} -Wall"
++	CXXFLAGS="$CXXFLAGS ${TUV_CXXDEBUGRELEASEFLAGS} -Wall"
++	CFLAGS="$CFLAGS ${TUV_CXXDEBUGRELEASEFLAGS} -Wall"
+ 	AM_CONDITIONAL(DEBUG, test x$debug = xtrue)
+ 	])
+ 
================================================================



More information about the pld-cvs-commit mailing list