Lines 133-145
Link Here
|
133 |
einfo "Fixing rpath" |
133 |
einfo "Fixing rpath" |
134 |
sed -e 's,-rpath \$(ToolDir),,g' -i Makefile.rules || die "sed failed" |
134 |
sed -e 's,-rpath \$(ToolDir),,g' -i Makefile.rules || die "sed failed" |
135 |
|
135 |
|
136 |
# This patch solves the PIC code generation for 64bits platforms. It is |
|
|
137 |
# activated with a USE flag, so users know what they are doing |
138 |
if use amd64 && use pic; then |
139 |
epatch "${FILESDIR}"/llvm-2.3-64bits-pic.patch |
140 |
elog "PIC code generation for 64 bits -> patch applied" |
141 |
fi |
142 |
|
143 |
epatch "${FILESDIR}"/llvm-2.3-dont-build-hello.patch |
136 |
epatch "${FILESDIR}"/llvm-2.3-dont-build-hello.patch |
144 |
epatch "${FILESDIR}"/llvm-2.3-disable-strip.patch |
137 |
epatch "${FILESDIR}"/llvm-2.3-disable-strip.patch |
145 |
|
138 |
|