build/sim: use -O0 for verilator compilation
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 7 Jun 2019 09:16:39 +0000 (11:16 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 7 Jun 2019 09:16:39 +0000 (11:16 +0200)
commitecb60f6e43092e9816c0f2ab231a250c55927a7a
treea4617827d8d2cd05d9d074b14c0d2be2394f2dff
parentc64129dc69fb4db42a2c5df5386e65c1fd5b51ed
build/sim: use -O0 for verilator compilation

In most of the case, execution speed is already fast enough with -O0 and
with complex design -O0 is a lost faster to compile than -O3. In the future
we could add a switch to choose which optimization we want.
litex/build/sim/core/Makefile