From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- opt/zip/zip-3.0-pic.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 opt/zip/zip-3.0-pic.patch (limited to 'opt/zip/zip-3.0-pic.patch') diff --git a/opt/zip/zip-3.0-pic.patch b/opt/zip/zip-3.0-pic.patch new file mode 100644 index 0000000..89a52e2 --- /dev/null +++ b/opt/zip/zip-3.0-pic.patch @@ -0,0 +1,15 @@ +if our toolchain generates PIC by default, then do not use the hand written +assembly files as none of it is PIC friendly. + +--- a/unix/configure ++++ b/unix/configure +@@ -29,6 +29,9 @@ + echo Check if we can use asm code + OBJA="" + OCRCU8="" ++piclib="$(echo | $CPP -dM $CFLAGS - | grep -i __pic__)" ++echo "Checking if compiler wants to create pic code" ++[ "$piclib" = "" ] && \ + if eval "$CPP match.S > _match.s 2>/dev/null"; then + if test ! -s _match.s || grep error < _match.s > /dev/null; then + : -- cgit v1.3.1