Don't install the libLLVMHello.dylib example.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68807 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Makefile.rules b/Makefile.rules
index ba59929..e6c266a 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -439,7 +439,6 @@
   DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')
 
   SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress \
-                    -compatibility_version 1 -current_version 1 \
                     -dynamiclib -mmacosx-version-min=$(DARWIN_VERSION)
   TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
 else
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index d11c7f8..450bfea 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -207,6 +207,9 @@
 strip -S $DT_HOME/lib/libLTO.dylib
 rm -f lib/libLTO.a lib/libLTO.la
 
+# The Hello dylib is an example of how to build a pass. No need to install it.
+rm lib/libLLVMHello.dylib
+
 # Compress manpages
 MDIR=$DEST_DIR$DEST_ROOT/share/man/man1
 gzip -f $MDIR/*