Fix build when another LLVM installation is present #876

Merged
merged 1 commit into from May 19, 2011

2 participants

@stass

Hi!

This change fixes build when another installation of llvm is present on the system,
and LLVM headers are being picked from /usr/local/include instead of the local
LLVM directories. This happens, for example, on FreeBSD if you have llvm version 2.9
installed from the ports and are trying to build rubinius. We're using the same patch
in the FreeBSD rubinius port.

Thanks!

@stass stass - Move local include dirs to the first postition in CFLAGS. This
  fixes build when another installation of llvm is present on the
  system, and LLVM headers are being picked from /usr/local/include
  instead of the local LLVM directories.
48ba6b7
@evanphx evanphx merged commit 8d51b03 into rubinius:master May 19, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment