build/sim: allow to use environment's {C,LD}FLAGS
authorMariusz Glebocki <mglebocki@antmicro.com>
Mon, 3 Feb 2020 20:48:51 +0000 (21:48 +0100)
committerMariusz Glebocki <mglebocki@antmicro.com>
Tue, 4 Feb 2020 16:31:31 +0000 (17:31 +0100)
commit90fe5850033c7cfb72387458dc272871663bfa83
treec1a8d08270eb99020ddbb3cab52a8ca994117ee3
parentbd6fd3da553f17db19785d0d5dba63c973a5a9c1
build/sim: allow to use environment's {C,LD}FLAGS

There are use cases where additional flags should be added to CFLAGS or
LDFLAGS, e.g. when using Conda environment.
litex/build/sim/core/Makefile
litex/build/sim/core/modules/variables.mak