allow text relocations from non-PIC i386 assembly in the ffap plugin
This commit is contained in:
parent
f1cb67fa81
commit
28f63025b1
15
audio/deadbeef/patches/patch-plugins_ffap_Makefile_am
Normal file
15
audio/deadbeef/patches/patch-plugins_ffap_Makefile_am
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-plugins_ffap_Makefile_am,v 1.4 2018/11/21 19:54:15 naddy Exp $
|
||||
|
||||
Index: plugins/ffap/Makefile.am
|
||||
--- plugins/ffap/Makefile.am.orig
|
||||
+++ plugins/ffap/Makefile.am
|
||||
@@ -25,6 +25,9 @@ endif
|
||||
endif
|
||||
|
||||
ffap_la_LDFLAGS = -module -avoid-version -lm
|
||||
+if HAVE_YASM
|
||||
+ffap_la_LDFLAGS += -Wl,-znotext
|
||||
+endif
|
||||
|
||||
AM_CFLAGS = $(CFLAGS) -fPIC -std=c99
|
||||
endif
|
Loading…
Reference in New Issue
Block a user