diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-02 21:03:46 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-02 21:03:46 +0200 |
commit | 830cbab2bf7c28ce2de623fc06350a1030106200 (patch) | |
tree | e62223dbf5605f5f9855b3894f3515eb04cb6174 /mk | |
parent | 6ab3547c8e2c985cc66e48b13008530f90d4ce30 (diff) |
add optimization flags for microblaze
Diffstat (limited to 'mk')
-rw-r--r-- | mk/vars.mk | 5 |
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 |