summaryrefslogtreecommitdiffstats
path: root/runtime/libprofile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/libprofile/Makefile')
-rw-r--r--runtime/libprofile/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile
index 8ff46fab..92a8558 100644
--- a/runtime/libprofile/Makefile
+++ b/runtime/libprofile/Makefile
@@ -8,12 +8,15 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
+include $(LEVEL)/Makefile.config
+
+ifneq ($(wildcard $(LLVMGCC)),)
BYTECODE_LIBRARY = 1
+endif
SHARED_LIBRARY = 1
LOADABLE_MODULE = 1
LIBRARYNAME = profile_rt
EXTRA_DIST = exported_symbols.lst
EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/exported_symbols.lst
-BYTECODE_DESTINATION = $(CFERuntimeLibDir)
include $(LEVEL)/Makefile.common
OpenPOWER on IntegriCloud