SF.net SVN: gar:[22267] csw/mgar/pkg/mplayer/branches/snapshot/Makefile

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Sun Oct 20 23:04:11 CEST 2013


Revision: 22267
          http://gar.svn.sourceforge.net/gar/?rev=22267&view=rev
Author:   pfelecan
Date:     2013-10-20 21:04:08 +0000 (Sun, 20 Oct 2013)
Log Message:
-----------
mplayer/branches/snapshot: condition automatic CPU detection on architecture

Modified Paths:
--------------
    csw/mgar/pkg/mplayer/branches/snapshot/Makefile

Modified: csw/mgar/pkg/mplayer/branches/snapshot/Makefile
===================================================================
--- csw/mgar/pkg/mplayer/branches/snapshot/Makefile	2013-10-20 20:20:36 UTC (rev 22266)
+++ csw/mgar/pkg/mplayer/branches/snapshot/Makefile	2013-10-20 21:04:08 UTC (rev 22267)
@@ -174,6 +174,13 @@
 
 # configure is not configure !
 # must use internal dvdnav as our library is not a snapshot
+
+ifneq ($(GARCH),sparc)
+CPU_DETECTION	=--enable-runtime-cpudetection
+else
+CPU_DETECTION	=
+endif
+
 configure-custom:
 	cd $(WORKSRC) && \
 	./configure \
@@ -181,7 +188,7 @@
 	--host-cc=gcc \
 	--extra-cflags='-std=gnu99' \
 	--extra-ldflags='-lrt' \
-	--enable-runtime-cpudetection \
+	$(CPU_DETECTION) \
 	--prefix=$(prefix) \
 	--codecsdir=$(libexecdir)/mplayer
 	$(MAKECOOKIE)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list