diff --git a/srcpkgs/llvm/template b/srcpkgs/llvm/template index 3dc164dc1d6..d59573a47fd 100644 --- a/srcpkgs/llvm/template +++ b/srcpkgs/llvm/template @@ -36,11 +36,10 @@ post_extract() { } do_configure() { - if [ "$CROSS_BUILD" ]; then - unset CC CXX CPP AR AS RANLIB CFLAGS LDFLAGS CPPFLAGS - fi + unset CC CXX CPP AR AS RANLIB CFLAGS LDFLAGS CPPFLAGS + # Don't let llvm strip bins. - sed -e '/.Install.StripFlag += -s/d' -i Makefile.rules + sed -e '/Install.StripFlag += -s/d' -i Makefile.rules # Fix installation directories, ./configure doesn't seem to set them right sed -i -e 's:\$(PROJ_prefix)/etc/llvm:/etc/llvm:' \ @@ -54,6 +53,7 @@ do_configure() { do_build() { unset CC CXX CPP AR AS RANLIB CFLAGS LDFLAGS CPPFLAGS + cd build make ${makejobs} }