Don't build projects/examples if libs-only was specified.
[oota-llvm.git] / Makefile
index 5a25a799b2ff93be26e63f2b38134cd639bedcba..8136798a3a8765038ffdee2ab26a8997368f12cc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,8 @@ else
       $(warning Skipping runtime libraries, llvm-gcc 4 detected.)
     endif
     DIRS += docs
+    OPTIONAL_DIRS = examples projects
   endif
-  OPTIONAL_DIRS = examples projects
 endif
 EXTRA_DIST := test llvm.spec include