diff options
| author | root <siehputz@gmail.com> | 2020-07-22 12:44:41 -0500 |
|---|---|---|
| committer | root <siehputz@gmail.com> | 2020-07-22 12:44:41 -0500 |
| commit | d83a4ac72db90253089fb33e6f01d6da8f99f8b3 (patch) | |
| tree | 406676c60de804bef4129502b8a7268bd3a5f3bd /ports/litex/Makefile | |
| parent | 2aef9b02bd8774bf98bb98a150160fdfa8b44f54 (diff) | |
Changes to add compiler optimization option
Diffstat (limited to 'ports/litex/Makefile')
| -rw-r--r-- | ports/litex/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/litex/Makefile b/ports/litex/Makefile index 7ddf3c061..6f083e5d4 100644 --- a/ports/litex/Makefile +++ b/ports/litex/Makefile @@ -83,6 +83,7 @@ else ### CFLAGS += -flto endif +# option to override compiler optimization level, set in boards/$(BOARD)/mpconfigboard.mk ifdef OPTIMIZATION_LEVEL CFLAGS += -O$(OPTIMIZATION_LEVEL) endif |
