musllvm

A pure LLVM/Clang cross compiler toolchain targeting musl C
git clone git://git.daat.foo/musllvm.git
Log | Files | Refs | README | LICENSE

use-symlinks.patch (966B)


      1 From 974e9f2d745c4c20a6f68b54e7f9c1d38078434c Mon Sep 17 00:00:00 2001
      2 From: Daniel Kolesa <daniel@octaforge.org>
      3 Date: Fri, 5 Nov 2021 22:21:54 +0100
      4 Subject: [PATCH] use symlinks for binaries
      5 
      6 ---
      7  ar/Makefile      | 2 +-
      8  elfcopy/Makefile | 2 +-
      9  2 files changed, 2 insertions(+), 2 deletions(-)
     10 
     11 diff --git a/ar/Makefile b/ar/Makefile
     12 index cfbaac3..ae49132 100644
     13 --- a/ar/Makefile
     14 +++ b/ar/Makefile
     15 @@ -14,7 +14,7 @@ LDADD=	-larchive -lelftc -lelf -lz
     16  
     17  CFLAGS+=-I. -I${.CURDIR}
     18  
     19 -LINKS=	${BINDIR}/ar ${BINDIR}/ranlib
     20 +SYMLINKS=	${BINDIR}/ar ${BINDIR}/ranlib
     21  
     22  EXTRA_TARGETS=	ranlib
     23  
     24 diff --git a/elfcopy/Makefile b/elfcopy/Makefile
     25 index a73515a..ca6e03c 100644
     26 --- a/elfcopy/Makefile
     27 +++ b/elfcopy/Makefile
     28 @@ -31,7 +31,7 @@ MLINKS=	elfcopy.1 objcopy.1
     29  
     30  NO_SHARED?=	yes
     31  
     32 -LINKS=	${BINDIR}/elfcopy ${BINDIR}/mcs		\
     33 +SYMLINKS=	${BINDIR}/elfcopy ${BINDIR}/mcs		\
     34  	${BINDIR}/elfcopy ${BINDIR}/objcopy 	\
     35  	${BINDIR}/elfcopy ${BINDIR}/strip
     36  
     37 -- 
     38 2.33.1
     39