]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Remove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
authorreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 10 Nov 2009 12:59:56 +0000 (12:59 +0000)
committerreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 10 Nov 2009 12:59:56 +0000 (12:59 +0000)
configure is supposed to take care of that already.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20498 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

configure
libavutil/internal.h

index 83791fc02bb1855efe8f2ba74b307fbd44fb3f3e..d49cf5716d7a19ff338a4469a6572457bfd54108 100755 (executable)
--- a/configure
+++ b/configure
@@ -1876,8 +1876,6 @@ esac
 
 enable $arch $subarch
 enabled spic && enable pic
-# This is the same check as used in libavutil/internal.h
-# to enable RIP-relative addressing for x86_64 inline asm.
 check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PIC)" && enable pic
 
 # OS specific
index 141186bb5f349b750259cc6a8adc6058dda38b89..7f620d8dd765cbfcbd21a6c704ca7e7ff06f21b5 100644 (file)
 #    define INT_BIT (CHAR_BIT * sizeof(int))
 #endif
 
-#if ( defined(__PIC__) || defined(__pic__) ) && ! defined(PIC)
-#    define PIC
-#endif
-
 #ifndef offsetof
 #    define offsetof(T, F) ((unsigned int)((char *)&((T *)0)->F))
 #endif