# Add "PGO_RT" feature, assuming the `profile` compiler-rt library is available
config.available_features.add('PGO_RT')

if (config.llvm_version >= 700):
    config.substitutions.append( ('%allow-deprecated-dag-overlap ', '-allow-deprecated-dag-overlap ') )
else:
    config.substitutions.append( ('%allow-deprecated-dag-overlap ', '') )
