ref: 58bcccc98a6c1a62c497e0f33be93fef0dd83af7
parent: 1d16d094063ebf97203cc3898d7cb8357275c916
author: Janne Grunau <[email protected]>
date: Sun Nov 18 12:12:05 EST 2018
arm: define PIC based on __PIC__ or __pic__ if not defined Fixes #149.
--- a/src/arm/asm.S
+++ b/src/arm/asm.S
@@ -54,6 +54,14 @@
#endif
#endif
+#if !defined(PIC)
+#if defined(__PIC__)
+#define PIC __PIC__
+#elif defined(__pic__)
+#define PIC __pic__
+#endif
+#endif
+
#ifndef PRIVATE_PREFIX
#define PRIVATE_PREFIX dav1d_
#endif