lib: Add support for library wide utility functions, and make compilerrt_abort()
a real boy.
- The utility module needs to be included into every produced library, because
we don't have enough dependency tracking to know exactly which other modules
might require the utilities.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144751 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/make/config.mk b/make/config.mk
index d96b1b4..bddc6f8 100644
--- a/make/config.mk
+++ b/make/config.mk
@@ -8,6 +8,11 @@
ProjSrcRoot := $(shell pwd)
ProjObjRoot := $(ProjSrcRoot)
+# The list of modules which are required to be built into every library. This
+# should only be used for internal utilities which could be used in any other
+# module. Any other cases the platform should be allowed to opt-in to.
+AlwaysRequiredModules := int_util
+
###
# Tool configuration variables.