diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-04-27 09:32:31 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-04-27 09:32:31 +0000 |
commit | e69364b700a6c0cb411ddc7737bc8e9e701d0cb8 (patch) | |
tree | 5a2ef022abf8fea43fc5115769e9319a32a99027 /libavutil | |
parent | 660db1d6e9f7d8ad25b6362e17cc3fcc8e597bef (diff) | |
download | ffmpeg-streaming-e69364b700a6c0cb411ddc7737bc8e9e701d0cb8.zip ffmpeg-streaming-e69364b700a6c0cb411ddc7737bc8e9e701d0cb8.tar.gz |
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
Originally committed as revision 8849 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/x86_cpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/x86_cpu.h b/libavutil/x86_cpu.h index ebd60ff..2cbef0b 100644 --- a/libavutil/x86_cpu.h +++ b/libavutil/x86_cpu.h @@ -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 */ |