ccl: fix nopie.
This commit is contained in:
22
srcpkgs/ccl/patches/nopie.patch
Normal file
22
srcpkgs/ccl/patches/nopie.patch
Normal 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)
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
pkgname=ccl
|
pkgname=ccl
|
||||||
version=1.11.5
|
version=1.11.5
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="ccl"
|
wrksrc="ccl"
|
||||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
@@ -15,11 +15,6 @@ nopie=1
|
|||||||
nostrip=1
|
nostrip=1
|
||||||
disable_parallel_build=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
|
case $XBPS_MACHINE in
|
||||||
x86_64*) _arch=64 ;;
|
x86_64*) _arch=64 ;;
|
||||||
*) _arch='' ;;
|
*) _arch='' ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user