Add a bunch of assertions
[oota-llvm.git] / Makefile.config
index 3ae6245e9a5c0ffd84353b218ca99cad24114739..c16e16774f0cc6182757f5426f606fa051af8e46 100644 (file)
@@ -4,28 +4,34 @@
 # values specific to a particular installation of LLVM.
 #===-----------------------------------------------------------------------====
 
-# Current working directory, used below
+# Path to the C++ compiler to use.  This is an optional setting, which defaults
+# to whatever your gmake defaults to.
+#
+# Under Linux, for some reason the compiler driver wants to search the PATH to
+# find the system assembler, which breaks if the LLVM assembler is in our path.
+# Hack it to use the assembler in /usr/bin directly.
+#
+CXX = PATH=/usr/bin /usr/dcs/software/evaluation/bin/g++
+
+# We have the same problem with the CC binary, which use used by testcases for
+# native builds.
+#
+CC := PATH=/usr/bin /usr/dcs/software/evaluation/bin/gcc
 
 # Path to directory where object files should be stored during a build.
 # Set LLVM_OBJ_DIR to "." if you do not want to use a separate place for
 # object files.
 # 
 #LLVM_OBJ_DIR = .
-LLVM_OBJ_DIR = /localhome/$(shell whoami)
-
-# Path to location for purify, this is only needed if you build with
-# ENABLE_PURIFY=1
-# 
-PURIFY = /usr/dcs/applications/purify/bin/purify
+LLVM_OBJ_DIR := /localhome/$(USER)
 
 # Path to location for LLVM front-end this should only be specified here if you
 # want to override the value set in Makefile.$(uname)
 #
 #LLVMGCCDIR := /home/vadve/lattner/cvs/gcc_install_x86
 
-# Path to the C++ compiler to use.  Under linux, for some reason the compiler
-# driver wants to search the PATH to find the system assembler, which breaks if
-# the LLVM assembler is in our path.  Hack it to use the assembler in /usr/bin
-# directly.
-#
-CXX = PATH=/usr/bin /usr/dcs/software/evaluation/bin/g++
+# Path to location for purify, this is only needed if you build with
+# ENABLE_PURIFY=1
+# 
+PURIFY = /usr/dcs/applications/purify/bin/purify
+