summaryrefslogtreecommitdiff
path: root/ports/litex
diff options
context:
space:
mode:
authorDan Halbert <halbert@adafruit.com>2020-12-17 11:03:40 -0500
committerGitHub <noreply@github.com>2020-12-17 11:03:40 -0500
commit8f9cd7075e706b714ff0166414f399d521f6302b (patch)
tree85854ea3e476cf67dfe4d8e7a6b5d943ab757675 /ports/litex
parent68dd4b2b37d35218e306a0de2efb659cbd505fb6 (diff)
parent4521dfb73289eaa9d17cb61b29b49c10adf1f4a3 (diff)
Merge pull request #3752 from jepler/gcc10
build: Update to gcc10
Diffstat (limited to 'ports/litex')
-rw-r--r--ports/litex/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/litex/Makefile b/ports/litex/Makefile
index 612953daa..f384f2457 100644
--- a/ports/litex/Makefile
+++ b/ports/litex/Makefile
@@ -80,7 +80,7 @@ ifeq ($(DEBUG), 1)
OPTIMIZATION_FLAGS ?= -Og
else
CFLAGS += -DNDEBUG -ggdb3
- OPTIMIZATION_FLAGS ?= -O2
+ OPTIMIZATION_FLAGS ?= -O2 -fno-inline-functions
# TODO: Test with -flto
### CFLAGS += -flto
endif