[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#421502: build problem: CFLAGS are discarded due to a typo



Package: timidity
Version: 2.13.2-11

Because of a typo, EXTRACT_CPPFLAGS destroys the CFLAGS when called.
This causes a problem when one wants to rebuild the package with
optimizations (on core 2 duo, rebuilding with -march=pentium-m
-mtune=pentium-m -msse2 -mfpmath=sse lowers the cpu load about 4-5
times, it is quite a reasonable thing to do).

The fix is trivial:

--- utils.m4.orig	2007-04-29 17:20:47.000000000 +0200
+++ utils.m4	2007-04-29 17:20:54.000000000 +0200
@@ -242,7 +242,7 @@
 [for f in $3; do
     case ".$f" in
 	.-I?*|.-D?*)	$1="[$]$1 $f" ;;
-	*)		$2="[$]$1 $f" ;;
+	*)		$2="[$]$2 $f" ;;
     esac
 done
 ])

-- 
Jindrich Makovicka



Reply to: