X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile.config.in;h=6422559574b61791e5bdd3f6cc59c108d344f80a;hb=781907b2b83aea4d1c2b730492d47c696df579ca;hp=9755a5de078bce354ed07fac7a481666cd070e35;hpb=e5ab51d51f6e5cebf57db76c7f8527febc6a2b71;p=oota-llvm.git diff --git a/Makefile.config.in b/Makefile.config.in index 9755a5de078..6422559574b 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -86,7 +86,12 @@ PROJ_VERSION := 1.0 endif endif -LLVMMAKE := $(LLVM_SRC_ROOT)/make +INTERNAL_PREFIX := @INTERNAL_PREFIX@ +ifneq ($(INTERNAL_PREFIX),) +PROJ_internal_prefix := $(INTERNAL_PREFIX) +else +PROJ_internal_prefix := $(prefix) +endif PROJ_bindir := $(PROJ_prefix)/bin PROJ_libdir := $(PROJ_prefix)/lib @@ -109,6 +114,7 @@ TARGET_OS=@TARGET_OS@ # Target hardware architecture ARCH=@ARCH@ +TARGET_NATIVE_ARCH := $(ARCH) # Indicates, whether we're cross-compiling LLVM or not LLVM_CROSS_COMPILING=@LLVM_CROSS_COMPILING@ @@ -210,6 +216,10 @@ RDYNAMIC := @RDYNAMIC@ # These are options that can either be enabled here, or can be enabled on the # make command line (ie, make ENABLE_PROFILING=1): +# When ENABLE_LIBCPP is enabled, LLVM uses libc++ by default to build. +#ENABLE_LIBCPP = 0 +ENABLE_LIBCPP = @ENABLE_LIBCPP@ + # When ENABLE_OPTIMIZED is enabled, LLVM code is optimized and output is put # into the "Release" directories. Otherwise, LLVM code is not optimized and # output is put in the "Debug" directories.