summaryrefslogtreecommitdiff
path: root/mk/vars.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-01-20 18:08:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-01-21 03:21:18 +0100
commit65447d767a0c53869e52ec43af18e97266ea6e3a (patch)
tree9c1f0e3229c952300d3130fd043fcc36ec8acdf4 /mk/vars.mk
parentc55e0f94392c4f9d2848fe97214e27f9634da3a2 (diff)
microblaze: workaround for gcc bug #97208
Diffstat (limited to 'mk/vars.mk')
-rw-r--r--mk/vars.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index bc8b44646..c7fcba604 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -242,8 +242,8 @@ TARGET_CXXFLAGS+= -mlongcalls -mauto-litpools
endif
endif
ifeq ($(ADK_TARGET_ARCH_MICROBLAZE),y)
-TARGET_CFLAGS+= -mxl-barrel-shift
-TARGET_CXXFLAGS+= -mxl-barrel-shift
+TARGET_CFLAGS+= -mxl-barrel-shift -fno-tree-loop-distribute-patterns
+TARGET_CXXFLAGS+= -mxl-barrel-shift -fno-tree-loop-distribute-patterns
endif
endif