# Link Time Optimization default value

**URL:** <https://forum.juce.com/t/link-time-optimization-default-value/17551>\
**Category:** The Projucer\
**Created:** [April 29, 2016, 6:01pm UTC](https://forum.juce.com/t/link-time-optimization-default-value/17551 "2016-04-29T18:01:27Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![samuel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/samuel/32/21_2.png) [@samuel](https://forum.juce.com/u/samuel)\
**Post date:** [October 25, 2017, 6:54pm UTC](https://forum.juce.com/t/link-time-optimization-default-value/17551/5 "2017-10-25T18:54:36Z")

</div>

@ed95 Do you know how to cope with the enabled Link Time Optimization to build a Release under Linux (Ubuntu 16.04)?

I’ve installed the dependencies as mentioned in the [List of Juce dependencies under linux](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/31) . Building is successful when LTO is disabled, but not when LTO is enabled:

```
ar: build/intermediate/Release/include_juce_audio_basics_8a4e984a.o: plugin needed to handle lto object
ar: build/intermediate/Release/include_juce_audio_formats_15f82001.o: plugin needed to handle lto object
...

```

I also tried to explicitly set the compiler with CXX, no success either

```
make CXX=clang++ CONFIG=Release

```

Here, gcc & g++ are v5.4.0, clang++ is v3.8.0, llvm-lto-3.8 is available.

---

_[View the full topic](https://forum.juce.com/t/link-time-optimization-default-value/17551)._
