# \[Solved\] Illegal instruction on different machine

**URL:** <https://forum.juce.com/t/solved-illegal-instruction-on-different-machine/36614>\
**Category:** General JUCE discussion\
**Created:** [December 11, 2019, 1:06pm UTC](https://forum.juce.com/t/solved-illegal-instruction-on-different-machine/36614 "2019-12-11T13:06:09Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![TheWaveWarden](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/thewavewarden/32/13708_2.png) [@TheWaveWarden](https://forum.juce.com/u/TheWaveWarden)\
**Post date:** [December 15, 2019, 6:09pm UTC](https://forum.juce.com/t/solved-illegal-instruction-on-different-machine/36614/6 "2019-12-15T18:09:22Z")

</div>

Ok I got it!

For anybody wondering: In Projucer go to your exporter tab (not Debug/Release but the header above which says “Linux Makefile”) where you can set “extra compiler flags”.

For GCC the flag to not use AVX2 is the flag to use anything up to AVX which is

```auto
-mavx

```

---

_[View the full topic](https://forum.juce.com/t/solved-illegal-instruction-on-different-machine/36614)._
