Const-correctness.
[oota-llvm.git] / runtime / libprofile / Makefile
index 9f601c47294e29239667c631b4645eb117dc86d4..92a85584db171bb47619b1e88547815ca48bf06e 100644 (file)
@@ -8,7 +8,11 @@
 ##===----------------------------------------------------------------------===##
 
 LEVEL = ../..
+include $(LEVEL)/Makefile.config
+
+ifneq ($(wildcard $(LLVMGCC)),)
 BYTECODE_LIBRARY = 1
+endif
 SHARED_LIBRARY = 1
 LOADABLE_MODULE = 1
 LIBRARYNAME = profile_rt