mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
ccl: fix nopie.
This commit is contained in:
parent
9dedd9a795
commit
2c3d8d583a
2 changed files with 23 additions and 6 deletions
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='' ;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue