summaryrefslogtreecommitdiff
path: root/lang/rust/files/patch-configure
diff options
context:
space:
mode:
authorMichael Scheidell <scheidell@FreeBSD.org>2012-04-07 16:22:23 +0000
committerMichael Scheidell <scheidell@FreeBSD.org>2012-04-07 16:22:23 +0000
commitc144b0fb1c9755e5e65c7c44c6f9ebfb576ef375 (patch)
tree11e262899dffddd938de99e69a4f0c6c4be3a5f9 /lang/rust/files/patch-configure
parentThis one is a routine bugfix / new functionality update: (diff)
- Update to 0.2
- The bootstrap compiler needs "cc" to link objects. PR: ports/166551 Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer) Feature safe: yes
Notes
Notes: svn path=/head/; revision=294335
Diffstat (limited to 'lang/rust/files/patch-configure')
-rw-r--r--lang/rust/files/patch-configure40
1 files changed, 0 insertions, 40 deletions
diff --git a/lang/rust/files/patch-configure b/lang/rust/files/patch-configure
deleted file mode 100644
index 6dfa1b14c2cd..000000000000
--- a/lang/rust/files/patch-configure
+++ /dev/null
@@ -1,40 +0,0 @@
---- ./configure.orig 2012-01-26 10:47:57.178803535 +0800
-+++ ./configure 2012-01-26 10:48:24.324805426 +0800
-@@ -340,7 +340,8 @@
- CFG_CLANG_VERSION=$("$CFG_CLANG" \
- --version \
- | grep version \
-- | cut -d ' ' -f 3)
-+ | sed 's/.*\(version .*\)/\1/' \
-+ | cut -d ' ' -f 2)
-
- case $CFG_CLANG_VERSION in
- (3.0svn | 3.0 | 3.1)
-@@ -534,14 +535,23 @@
- # Disable unused LLVM features
- LLVM_OPTS="$LLVM_DBG_OPTS --disable-docs --disable-jit --enable-bindings=none --disable-threads --disable-pthreads"
-
-- LLVM_CXX_32="g++ -m32"
-- LLVM_CC_32="gcc -m32"
-+ if [ "$CFG_C_COMPILER" = "clang" ]
-+ then
-+ LLVM_CXX_32="clang++ -m32"
-+ LLVM_CC_32="clang -m32"
-+ LLVM_CXX_64="clang++"
-+ LLVM_CC_64="clang"
-+ else
-+ LLVM_CXX_32="g++ -m32"
-+ LLVM_CC_32="gcc -m32"
-+ LLVM_CXX_64="g++"
-+ LLVM_CC_64="gcc"
-+ fi
-+
- LLVM_CFLAGS_32="-m32"
- LLVM_CXXFLAGS_32="-m32"
- LLVM_LDFLAGS_32="-m32"
-
-- LLVM_CXX_64="g++"
-- LLVM_CC_64="gcc"
- LLVM_CFLAGS_64=""
- LLVM_CXXFLAGS_64=""
- LLVM_LDFLAGS_64=""