Disabled the export features in SAFECode clang. This fixes the linking errors
on Ubuntu (PR#14509).
llvm-svn: 169450
diff --git a/safecode/tools/clang/tools/arcmt-test/Makefile b/safecode/tools/clang/tools/arcmt-test/Makefile
index a7fc3ee..b841d12 100644
--- a/safecode/tools/clang/tools/arcmt-test/Makefile
+++ b/safecode/tools/clang/tools/arcmt-test/Makefile
@@ -13,7 +13,7 @@
TOOLNAME = arcmt-test
# No plugins, optimize startup time.
-TOOL_NO_EXPORTS = 1
+#TOOL_NO_EXPORTS = 1
# Don't install this. It is used for tests.
NO_INSTALL = 1
diff --git a/safecode/tools/clang/tools/c-arcmt-test/Makefile b/safecode/tools/clang/tools/c-arcmt-test/Makefile
index b2dc6e4..b31e51b 100644
--- a/safecode/tools/clang/tools/c-arcmt-test/Makefile
+++ b/safecode/tools/clang/tools/c-arcmt-test/Makefile
@@ -13,7 +13,7 @@
TOOLNAME = c-arcmt-test
# No plugins, optimize startup time.
-TOOL_NO_EXPORTS = 1
+#TOOL_NO_EXPORTS = 1
# Don't install this. It is used for tests.
NO_INSTALL = 1
diff --git a/safecode/tools/clang/tools/c-index-test/Makefile b/safecode/tools/clang/tools/c-index-test/Makefile
index 8831dbe..aa36028 100644
--- a/safecode/tools/clang/tools/c-index-test/Makefile
+++ b/safecode/tools/clang/tools/c-index-test/Makefile
@@ -18,7 +18,7 @@
INTERNAL_TOOL = 1
# No plugins, optimize startup time.
-TOOL_NO_EXPORTS = 1
+#TOOL_NO_EXPORTS = 1
# Include this here so we can get the configuration of the targets that have
# been configured for construction. We have to do this early so we can set up
diff --git a/safecode/tools/clang/tools/clang-check/Makefile b/safecode/tools/clang/tools/clang-check/Makefile
index c0afbbc..65fa067 100644
--- a/safecode/tools/clang/tools/clang-check/Makefile
+++ b/safecode/tools/clang/tools/clang-check/Makefile
@@ -14,7 +14,7 @@
TOOLNAME = clang-check
# No plugins, optimize startup time.
-TOOL_NO_EXPORTS = 1
+#TOOL_NO_EXPORTS = 1
include $(CLANG_LEVEL)/../../Makefile.common
LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
diff --git a/safecode/tools/clang/tools/diagtool/Makefile b/safecode/tools/clang/tools/diagtool/Makefile
index c2eecf8..6763613 100644
--- a/safecode/tools/clang/tools/diagtool/Makefile
+++ b/safecode/tools/clang/tools/diagtool/Makefile
@@ -13,7 +13,7 @@
TOOLNAME = diagtool
# No plugins, optimize startup time.
-TOOL_NO_EXPORTS := 1
+#TOOL_NO_EXPORTS := 1
# Don't install this.
NO_INSTALL = 1
diff --git a/safecode/tools/clang/tools/driver/Makefile b/safecode/tools/clang/tools/driver/Makefile
index af27320..aa4786f 100644
--- a/safecode/tools/clang/tools/driver/Makefile
+++ b/safecode/tools/clang/tools/driver/Makefile
@@ -14,7 +14,7 @@
# We don't currently expect production Clang builds to be interested in
# plugins. This is important for startup performance.
ifdef CLANG_IS_PRODUCTION
-TOOL_NO_EXPORTS := 1
+#TOOL_NO_EXPORTS := 1
endif
ifdef CLANG_ORDER_FILE
diff --git a/safecode/tools/clang/tools/libclang/Makefile b/safecode/tools/clang/tools/libclang/Makefile
index 70f791c..deb1ae4 100644
--- a/safecode/tools/clang/tools/libclang/Makefile
+++ b/safecode/tools/clang/tools/libclang/Makefile
@@ -10,7 +10,7 @@
CLANG_LEVEL := ../..
LIBRARYNAME = clang
-EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/libclang.exports
+#EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/libclang.exports
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1