diff x86_cpu.h @ 331:67b9676e4b69 libavutil

Mark code parts that cannot work on AMD64 due to broken relocations as such. This allows building shared libraries on AMD64 again. based on a patch by Diego 'Flameeyes' Petten and suggestions by Michael original thread: Date: Wed, 18 Apr 2007 11:26:12 +0200 Subject: [Ffmpeg-devel] [PATCH] (try 2) Build shared libraries on AMD64 again
author diego
date Fri, 27 Apr 2007 09:32:31 +0000
parents 03b6f31e7f4b
children c7eec007db61
line wrap: on
line diff
--- a/x86_cpu.h	Thu Apr 26 08:20:21 2007 +0000
+++ b/x86_cpu.h	Fri Apr 27 09:32:31 2007 +0000
@@ -61,4 +61,8 @@
 #  define CONFIG_7REGS 1
 #endif
 
+#if defined(ARCH_X86_64) && defined(PIC)
+#  define BROKEN_RELOCATIONS 1
+#endif
+
 #endif /* AVUTIL_X86CPU_H */