parent
e667e3439e
commit
d08ca7343a
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'llvm'
|
||||
pkgname=llvm
|
||||
version=3.8.1
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="llvm-${version}.src"
|
||||
lib32disabled=yes
|
||||
build_style=cmake
|
||||
|
@ -132,6 +132,10 @@ pre_configure() {
|
|||
configure_args+=" -DLLVM_TARGET_ARCH=${_arch}"
|
||||
configure_args+=" -DLLVM_DEFAULT_TARGET_TRIPLE=${XBPS_CROSS_TRIPLET:-$XBPS_TRIPLET}"
|
||||
}
|
||||
post_configure() {
|
||||
# Don't leak CFLAGS into llvm-config.
|
||||
sed -i -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" tools/llvm-config/BuildVariables.inc
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vlicense LICENSE.TXT
|
||||
|
|
Loading…
Reference in a new issue