Clarify section on setting up and running test-suite
[oota-llvm.git] / Makefile.rules
index 22056f7b18c617cfdb527e3938783014fb01dceb..a8af0b7e73bcd8349fc0b68bf20665013e745eab 100644 (file)
@@ -293,7 +293,8 @@ endif
 # If DISABLE_ASSERTIONS=1 is specified (make command line or configured),
 # then disable assertions by defining the appropriate preprocessor symbols.
 ifdef DISABLE_ASSERTIONS
-  BuildMode := $(BuildMode)-NoAsserts
+  # Indicate that assertions are turned off using a minus sign
+  BuildMode := $(BuildMode)-Asserts
   CPP.Defines += -DNDEBUG
 else
   CPP.Defines += -D_DEBUG
@@ -435,8 +436,8 @@ ifeq ($(OS),Darwin)
   # Get "4" out of 10.4 for later pieces in the makefile.
   DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')
 
-  SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress -Wl,-dylib \
-                    -mmacosx-version-min=$(DARWIN_VERSION)
+  SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress \
+                    -dynamiclib -mmacosx-version-min=$(DARWIN_VERSION)
   TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
 else
   ifeq ($(OS),Cygwin)