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 1ea64cf70b3485cd60728f9bafda7c18e03b9fef..8377d07eea546c584ec82c39ba5b7b1c7f388ac7 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"