[Flac-dev] Patch : Fix one more Linux PowerPC problem

Erik de Castro Lopo erikd-flac at mega-nerd.com
Sun Jan 30 18:37:20 PST 2005


Josh,

Once more patch. The gcc on Linux PowerPC does not have the 
-force_cpusubtype_ALL flag. On the Debian man page, that
compiler option is listed as being Darwin specific.

Erik

--- src/libFLAC/Makefile.am     30 Jan 2005 18:44:46 -0000      1.58
+++ src/libFLAC/Makefile.am     31 Jan 2005 02:33:14 -0000
@@ -40,7 +40,7 @@
 CPUCFLAGS = -faltivec -force_cpusubtype_ALL -DFLAC__NO_ASM
 else
 #@@@@@@ PPC optimizations temporarily disabled
-CPUCFLAGS = -maltivec -mabi=altivec -force_cpusubtype_ALL -DFLAC__NO_ASM
+CPUCFLAGS = -maltivec -mabi=altivec -DFLAC__NO_ASM
 endif
 endif

-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam at mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
"I believe C++ instills fear in programmers, fear that the interaction
of some details causes unpredictable results. Its unmanageable complexity
has spawned more fear-preventing tools than any other language, but the
solution _should_ have been to create and use a language that does not
overload the whole goddamn human brain with irrelevant details."
-- Erik Naggum


More information about the Flac-dev mailing list