summaryrefslogtreecommitdiff
path: root/lib/libcrypto/perlasm/x86gas.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/perlasm/x86gas.pl')
-rw-r--r--lib/libcrypto/perlasm/x86gas.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/perlasm/x86gas.pl b/lib/libcrypto/perlasm/x86gas.pl
index 15e17f25d05..9a1cce026ea 100644
--- a/lib/libcrypto/perlasm/x86gas.pl
+++ b/lib/libcrypto/perlasm/x86gas.pl
@@ -181,7 +181,7 @@ sub ::picmeup
{ my($dst,$sym,$base,$reflabel)=@_;
if ($::openbsd)
- { &::emitraw("#ifdef PIC");
+ { &::emitraw("#if defined(PIC) || defined(__PIC__)");
&::emitraw("PIC_PROLOGUE");
&::mov($dst, &::DWP("PIC_GOT($sym)"));
&::emitraw("PIC_EPILOGUE");