summaryrefslogtreecommitdiff
path: root/mk/vars.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/vars.mk')
-rw-r--r--mk/vars.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index a26dc0734..a13de04b8 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -123,6 +123,11 @@ TARGET_CXXFLAGS+= -flto
TARGET_LDFLAGS+= -flto
endif
+ifeq ($(ADK_LINUX_MICROBLAZE),y)
+TARGET_CFLAGS+= -mxl-barrel-shift
+TARGET_CXX_FLAGS+= -mxl-barrel-shift
+endif
+
ifneq ($(ADK_DEBUG),)
TARGET_CFLAGS+= -g3 -fno-omit-frame-pointer
else