Skip to content

Commit

Permalink
dev-lisp/clozurecl: fix compilation on x86 with 17.0 profile
Browse files Browse the repository at this point in the history
Suggested-by:  Sergei Trofimovich <[email protected]>
Closes: https://bugs.gentoo.org/672454
Signed-off-by: Andrey Grozin <[email protected]>
Package-Manager: Portage-2.3.41, Repoman-2.3.9
  • Loading branch information
Andrey Grozin committed Dec 9, 2018
1 parent 6854629 commit 01277b4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev-lisp/clozurecl/clozurecl-1.11.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ DEPEND="${RDEPEND}"
S="${WORKDIR}"/${MY_PN}
ENVD="${T}/50ccl"

PATCHES=( "${FILESDIR}"/${P}-no-pie-32.patch )

src_prepare() {
default
cp "${EPREFIX}/usr/share/common-lisp/source/asdf/build/asdf.lisp" tools/ || die
Expand Down
7 changes: 7 additions & 0 deletions dev-lisp/clozurecl/files/clozurecl-1.11.5-no-pie-32.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--- a/lisp-kernel/linuxx8632/Makefile
+++ b/lisp-kernel/linuxx8632/Makefile
@@ -76,3 +76,3 @@ USE_LINK_SCRIPT = # -T $(LINK_SCRIPT)
../../lx86cl: $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) Makefile $(LINK_SCRIPT)
- $(CC) -m32 $(CDEBUG) -Wl,--export-dynamic $(HASH_STYLE) -o $@ $(USE_LINK_SCRIPT) $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) -Wl,--no-as-needed $(OSLIBS)
+ $(CC) -m32 $(CDEBUG) -Wl,--export-dynamic $(HASH_STYLE) -no-pie -o $@ $(USE_LINK_SCRIPT) $(KSPOBJ) $(KERNELOBJ) $(DEBUGOBJ) -Wl,--no-as-needed $(OSLIBS)

0 comments on commit 01277b4

Please sign in to comment.