New commits:
commit ec4aca1a72171d5368dd3d9a6c8112549c5feb8b
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
devel/rust: added fix to avoid PIC macro confusion
diff --git a/devel/rust/HISTORY b/devel/rust/HISTORY
index 7b2c85e..0941088 100644
--- a/devel/rust/HISTORY
+++ b/devel/rust/HISTORY
@@ -1,6 +1,7 @@
2018-01-04 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 1.23.0, removed SPELLX
* patches/000[1-3]*.patch: removed, applied in upstream
+ * PRE_BUILD: added fix for building with -fPIC -DPIC
2017-11-23 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 1.22.1
diff --git a/devel/rust/PRE_BUILD b/devel/rust/PRE_BUILD
index 3fae5d7..61ed95a 100755
--- a/devel/rust/PRE_BUILD
+++ b/devel/rust/PRE_BUILD
@@ -2,4 +2,9 @@ default_pre_build &&
cd $SOURCE_DIRECTORY &&
apply_patch_dir patches &&
# avoid rebuilding llvm
-rm -r src/llvm
+rm -r src/llvm &&
+
+# No PIC confusion
+sed -e "s;PIC\,;pic\,;" \
+ -e "s;PIC:;pic:;" \
+ -i src/rustllvm/PassWrapper.cpp
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (ec4aca1a72171d5368dd3d9a6c8112549c5feb8b),
Pavel Vinogradov, 01/04/2018