Fix rdar://7694996 a miscompile of 183.equake from my patch yesterday,
[oota-llvm.git] / runtime / Makefile
index 6e259678b287c2575d7ef1adc16dea660c1323c5..1e1045142583f74d3596d18bd531e2edb6e5ec1b 100644 (file)
@@ -7,11 +7,11 @@
 # 
 ##===----------------------------------------------------------------------===##
 
-ifndef NO_RUNTIME_LIBS
-
 LEVEL = ..
 include $(LEVEL)/Makefile.config
 
+ifndef NO_RUNTIME_LIBS
+
 PARALLEL_DIRS  := libprofile
 
 # Disable libprofile: a faulty libtool is generated by autoconf which breaks the
@@ -20,8 +20,8 @@ ifeq ($(ARCH), Sparc)
 PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
 endif
 
+endif
+
 include $(LEVEL)/Makefile.common
 
 install::
-
-endif