summaryrefslogtreecommitdiff
path: root/app-emulation/dosemu/files/dosemu-1.4.1_pre20130107-ia16-ldflags.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-emulation/dosemu/files/dosemu-1.4.1_pre20130107-ia16-ldflags.patch
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emulation/dosemu/files/dosemu-1.4.1_pre20130107-ia16-ldflags.patch')
-rw-r--r--app-emulation/dosemu/files/dosemu-1.4.1_pre20130107-ia16-ldflags.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/app-emulation/dosemu/files/dosemu-1.4.1_pre20130107-ia16-ldflags.patch b/app-emulation/dosemu/files/dosemu-1.4.1_pre20130107-ia16-ldflags.patch
deleted file mode 100644
index f8c05622571c..000000000000
--- a/app-emulation/dosemu/files/dosemu-1.4.1_pre20130107-ia16-ldflags.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-Add a @IA16_LDFLAGS_EXTRA@ environment variable
-to be able to pass through -no-pie.
-
-It's a workaround for binutils ld.gold bug:
-https://bugs.gentoo.org/618366
-diff --git a/Makefile.conf.in b/Makefile.conf.in
-index cd4b34d..cc29931 100644
---- a/Makefile.conf.in
-+++ b/Makefile.conf.in
-@@ -55,2 +55,3 @@ ALL_LDFLAGS:=@DOSEMU_LDFLAGS@ ${LDFLAGS}
- DOSBIN_LDFLAGS:=@DOSBIN_LDFLAGS@
-+IA16_LDFLAGS_EXTRA:=@IA16_LDFLAGS_EXTRA@
- LIBS:=@LIBS@
-diff --git a/configure.ac b/configure.ac
-index 0f06f57..a86208e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -604,2 +604,3 @@ AC_SUBST(X_LIBS)
- AC_SUBST(X_CFLAGS)
-+AC_SUBST(IA16_LDFLAGS_EXTRA)
-
-diff --git a/src/commands/Makefile b/src/commands/Makefile
-index 3139b85..c5c4607 100644
---- a/src/commands/Makefile
-+++ b/src/commands/Makefile
-@@ -56,3 +56,3 @@ dosbin: $(COM1) $(COM2) $(SYS)
- $(D)/%.sys: %.o
-- $(LD) $(ALL_LDFLAGS) -Wl,-Ttext,0,-e,_start16,--oformat,binary -nostdlib -s -o $@ $<
-+ $(LD) $(ALL_LDFLAGS) -Wl,-Ttext,0,-e,_start16,--oformat,binary -nostdlib -s $(IA16_LDFLAGS_EXTRA) -o $@ $<
- chmod -x $@
-@@ -60,3 +60,3 @@ $(D)/%.sys: %.o
- $(D)/%.com: %.o
-- $(LD) $(ALL_LDFLAGS) -Wl,-Ttext,100,-e,_start16,--oformat,binary -nostdlib -s -o $@ $<
-+ $(LD) $(ALL_LDFLAGS) -Wl,-Ttext,100,-e,_start16,--oformat,binary -nostdlib -s $(IA16_LDFLAGS_EXTRA) -o $@ $<
- chmod -x $@
-diff --git a/src/plugin/commands/Makefile b/src/plugin/commands/Makefile
-index 48f49d5..d3a5667 100644
---- a/src/plugin/commands/Makefile
-+++ b/src/plugin/commands/Makefile
-@@ -57,3 +57,3 @@ $(STUBFULL): $(D)/generic.com ./mkcomstub
- $(D)/%.com: %.o
-- $(LD) $(ALL_LDFLAGS) -Wl,-Ttext,0x100,-e,_start16,--oformat,binary -nostdlib -s -o $@ $<
-+ $(LD) $(ALL_LDFLAGS) -Wl,-Ttext,0x100,-e,_start16,--oformat,binary -nostdlib -s $(IA16_LDFLAGS_EXTRA) -o $@ $<
- chmod -x $@