summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-10-24 18:21:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-11-11 10:35:35 +0100
commit279a67fc3bab1a515a34fff49d8e0345a6e94787 (patch)
tree58019f18b28c42f2f3fa97c2a4df6a8bde344e60
parentfb06efdd712d35dd482f8b2e28fe433a20827417 (diff)
xtensa: use -mlongcalls for big-endian, too
-rw-r--r--mk/vars.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index e476b8938..bc8b44646 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -236,13 +236,11 @@ endif
# special architecture optimization flags
ifeq ($(ADK_TARGET_ARCH_XTENSA),y)
-ifeq ($(ADK_TARGET_BIG_ENDIAN),)
ifeq ($(ADK_TARGET_LIB_NEWLIB),)
TARGET_CFLAGS+= -mlongcalls -mauto-litpools
TARGET_CXXFLAGS+= -mlongcalls -mauto-litpools
endif
endif
-endif
ifeq ($(ADK_TARGET_ARCH_MICROBLAZE),y)
TARGET_CFLAGS+= -mxl-barrel-shift
TARGET_CXXFLAGS+= -mxl-barrel-shift