ccl: fix nopie.

This commit is contained in:
Leah Neukirchen 2017-12-02 19:50:03 +01:00
parent 9dedd9a795
commit 2c3d8d583a
2 changed files with 23 additions and 6 deletions

View File

@ -0,0 +1,22 @@
--- lisp-kernel/linuxx8664/Makefile.orig
+++ lisp-kernel/linuxx8664/Makefile
@@ -69,7 +69,7 @@
all: ../../lx86cl64
-OSLIBS = -ldl -lm -lpthread -lrt
+OSLIBS = -ldl -lm -lpthread -lrt -no-pie
LINK_MAP = ./elf_x86_64.x
USE_LINK_MAP = # -T ./elf_x86_64.x
--- lisp-kernel/linuxx8632/Makefile.orig
+++ lisp-kernel/linuxx8632/Makefile
@@ -69,7 +69,7 @@
all: ../../lx86cl
-OSLIBS = -ldl -lm -lpthread -lrt
+OSLIBS = -ldl -lm -lpthread -lrt -no-pie
LINK_SCRIPT = # ./elf_x86_32.x
USE_LINK_SCRIPT = # -T $(LINK_SCRIPT)

View File

@ -1,6 +1,6 @@
pkgname=ccl
version=1.11.5
revision=1
revision=2
wrksrc="ccl"
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
build_style=gnu-makefile
@ -15,11 +15,6 @@ nopie=1
nostrip=1
disable_parallel_build=1
case "${XBPS_TARGET_MACHINE}" in
i686*) broken="https://build.voidlinux.eu/builders/i686_builder/builds/5997/steps/shell_3/logs/stdio";;
*-musl) broken="https://build.voidlinux.eu/builders/i686_builder/builds/5997/steps/shell_3/logs/stdio";;
esac
case $XBPS_MACHINE in
x86_64*) _arch=64 ;;
*) _arch='' ;;