Add -force_cpusubtype_ALL to ASFLAGS on Darwin/PPC
authorMåns Rullgård <mans@mansr.com>
Thu, 1 Jul 2010 23:21:33 +0000 (23:21 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 1 Jul 2010 23:21:33 +0000 (23:21 +0000)
Originally committed as revision 23954 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 1ea64cf..8377d07 100755 (executable)
--- a/configure
+++ b/configure
@@ -2118,6 +2118,7 @@ case $target_os in
     darwin)
         enable malloc_aligned
         as="gas-preprocessor.pl $cc"
+        enabled ppc && add_asflags -force_cpusubtype_ALL
         SHFLAGS='-dynamiclib -Wl,-single_module -Wl,-install_name,$(SHLIBDIR)/$(SLIBNAME),-current_version,$(LIBVERSION),-compatibility_version,$(LIBMAJOR) -Wl,-read_only_relocs,suppress'
         strip="${strip} -x"
         FFLDFLAGS="-Wl,-dynamic,-search_paths_first"