[Demudi-commits] r1499 - linuxsampler/trunk/debian

free-guest at alioth.debian.org free-guest at alioth.debian.org
Sun Jul 8 22:39:32 UTC 2007


Author: free-guest
Date: 2007-07-08 22:39:32 +0000 (Sun, 08 Jul 2007)
New Revision: 1499

Modified:
   linuxsampler/trunk/debian/changelog
   linuxsampler/trunk/debian/rules
Log:
* Support passing DEB_BUILD_OPTIONS=athopt to for Athlon optimization

Modified: linuxsampler/trunk/debian/changelog
===================================================================
--- linuxsampler/trunk/debian/changelog	2007-07-07 12:46:02 UTC (rev 1498)
+++ linuxsampler/trunk/debian/changelog	2007-07-08 22:39:32 UTC (rev 1499)
@@ -1,6 +1,7 @@
 linuxsampler (0.4.0-1+cvs070608) unstable; urgency=low
 
   * New cvs snapshot
+  * Support passing DEB_BUILD_OPTIONS=athopt to for Athlon optimization
 
  -- Free Ekanayaka <free at 64studio.com>  Fri,  8 Jun 2007 17:41:59 +0000
 

Modified: linuxsampler/trunk/debian/rules
===================================================================
--- linuxsampler/trunk/debian/rules	2007-07-07 12:46:02 UTC (rev 1498)
+++ linuxsampler/trunk/debian/rules	2007-07-08 22:39:32 UTC (rev 1499)
@@ -15,13 +15,14 @@
 
 include /usr/share/dpatch/dpatch.make
 
-CFLAGS = -Wall -g -O3 -march=athlon -mmmx -msse -ffast-math -funroll-loops -fomit-frame-pointer -fpermissive -mfpmath=sse
-
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
 else
 	CFLAGS += -O2
 endif
+ifneq (,$(findstring athopt,$(DEB_BUILD_OPTIONS)))
+CFLAGS = -Wall -g -O3 -march=athlon -mmmx -msse -ffast-math -funroll-loops -fomit-frame-pointer -fpermissive -mfpmath=sse
+endif
 
 configure-stamp: patch-stamp
 	dh_testdir




More information about the Demudi-commits mailing list