2015-02-23 21:15:19 +01:00
|
|
|
--- configure
|
|
|
|
+++ configure
|
2015-02-24 21:19:27 +01:00
|
|
|
@@ -16789,7 +16789,6 @@
|
2015-02-23 21:15:19 +01:00
|
|
|
LTO_LIB="-L${LLVM_LIB_DIR} -lLTO"
|
|
|
|
if test "x$rpathlink" = "xyes"; then
|
|
|
|
LTO_RPATH="-Wl,-rpath,$LLVM_LIB_DIR,--enable-new-dtags"
|
|
|
|
- LTO_LIB="$LTO_RPATH $LTO_LIB"
|
|
|
|
fi
|
|
|
|
LTO_DEF=-DLTO_SUPPORT
|
|
|
|
# DO NOT include the LLVM include dir directly,
|
2015-02-24 21:19:27 +01:00
|
|
|
@@ -16813,6 +16812,8 @@
|
2015-02-23 21:15:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+LDFLAGS="$LDFLAGS $LTO_RPATH"
|
|
|
|
+
|
|
|
|
### Check endianness ###
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
|
|
|
--- m4/llvm.m4
|
|
|
|
+++ m4/llvm.m4
|
2015-02-24 21:19:27 +01:00
|
|
|
@@ -27,7 +27,6 @@
|
2015-02-23 21:15:19 +01:00
|
|
|
[ LTO_LIB="-L${LLVM_LIB_DIR} -lLTO"
|
|
|
|
if test "x$rpathlink" = "xyes"; then
|
|
|
|
LTO_RPATH="-Wl,-rpath,$LLVM_LIB_DIR,--enable-new-dtags"
|
|
|
|
- LTO_LIB="$LTO_RPATH $LTO_LIB"
|
|
|
|
fi
|
|
|
|
LTO_DEF=-DLTO_SUPPORT
|
|
|
|
# DO NOT include the LLVM include dir directly,
|