summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/llvm/.footprint.i6863
-rw-r--r--extra/llvm/.footprint.x86_643
-rw-r--r--extra/llvm/Pkgfile5
3 files changed, 11 insertions, 0 deletions
diff --git a/extra/llvm/.footprint.i686 b/extra/llvm/.footprint.i686
index e452d171e..fe15f8024 100644
--- a/extra/llvm/.footprint.i686
+++ b/extra/llvm/.footprint.i686
@@ -1,3 +1,6 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/ld.so.conf.d/
+-rw-r--r-- root/root etc/ld.so.conf.d/llvm.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/bugpoint
diff --git a/extra/llvm/.footprint.x86_64 b/extra/llvm/.footprint.x86_64
index e452d171e..fe15f8024 100644
--- a/extra/llvm/.footprint.x86_64
+++ b/extra/llvm/.footprint.x86_64
@@ -1,3 +1,6 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/ld.so.conf.d/
+-rw-r--r-- root/root etc/ld.so.conf.d/llvm.conf
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/bugpoint
diff --git a/extra/llvm/Pkgfile b/extra/llvm/Pkgfile
index 9a45e6cae..06faa4b95 100644
--- a/extra/llvm/Pkgfile
+++ b/extra/llvm/Pkgfile
@@ -36,4 +36,9 @@ build() {
--enable-pic=$enable_pic
make
make DESTDIR=$PKG KEEP_SYMBOLS=1 PROJ_docsdir=/usr/share/$name PROJ_etcdir=/etc/$name PROJ_libdir=/usr/lib/$name install
+
+ sed -i -e "s|ABS_RUN_DIR/lib.*\"|ABS_RUN_DIR/lib/$name\"|" $PKG/usr/bin/llvm-config
+
+ install -d $PKG/etc/ld.so.conf.d
+ echo /usr/lib/llvm > $PKG/etc/ld.so.conf.d/llvm.conf
}