summaryrefslogtreecommitdiffstats
path: root/mangle.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-10 13:08:36 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-10 13:08:36 +0000
commit42ec82c1e53a7ee17bc4855acf3d83b2cd7b7a00 (patch)
treed484f298c3bd7d2a42de2bf69f91faa1f63d305b /mangle.h
parent4ca9381eaefeedbbd22f31eaa3ce90221ed69d53 (diff)
downloadmpv-42ec82c1e53a7ee17bc4855acf3d83b2cd7b7a00.tar.bz2
mpv-42ec82c1e53a7ee17bc4855acf3d83b2cd7b7a00.tar.xz
Use configure code to define PIC instead of duplicating the check in mangle.h.
While it is currently not necessary, it might be a good idea to move this outside the x86-only block in configure, as well as adding -pie to LDFLAGS. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29877 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mangle.h')
-rw-r--r--mangle.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/mangle.h b/mangle.h
index 6179bce4ab..64c6f75619 100644
--- a/mangle.h
+++ b/mangle.h
@@ -31,10 +31,6 @@
#define attribute_used
#endif
-// keep in sync with configure PIC check and libavutil/internal.h
-#if ( defined(__PIC__) || defined(__pic__) ) && ! defined(PIC)
-# define PIC
-#endif
#if ARCH_X86_64 && defined(PIC)
#define MANGLE(a) EXTERN_PREFIX #a "(%%rip)"
#else