diff --git a/runtime/libprofile/Makefile b/runtime/libprofile/Makefile index 9f601c47294..f79d42a0569 100644 --- a/runtime/libprofile/Makefile +++ b/runtime/libprofile/Makefile @@ -8,7 +8,9 @@ ##===----------------------------------------------------------------------===## LEVEL = ../.. +ifneq ($(wildcard $(LLVMGCC)),) BYTECODE_LIBRARY = 1 +endif SHARED_LIBRARY = 1 LOADABLE_MODULE = 1 LIBRARYNAME = profile_rt