summaryrefslogtreecommitdiff
path: root/mk/vars.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-04-28 21:16:33 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-04-28 21:16:33 +0200
commitfd73745fd7d70bd31ea78148418b9ac871d700ac (patch)
tree2c3c3dce95f4fba3d44c32a996ee093beff6c98c /mk/vars.mk
parent25bf1f0b8332e04f4d39ef030d04e083543a8f8c (diff)
if text-section-literals should be used, we will add special option later
Diffstat (limited to 'mk/vars.mk')
-rw-r--r--mk/vars.mk8
1 files changed, 0 insertions, 8 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index dd025c590..157bba30c 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -220,14 +220,6 @@ TARGET_CFLAGS+= -mxl-barrel-shift
TARGET_CXXFLAGS+= -mxl-barrel-shift
endif
-ifeq ($(ADK_TARGET_ARCH_XTENSA),y)
-# newer gcc does not need this anymore
-ifeq ($(ADK_TOOLCHAIN_GCC_GIT),)
-TARGET_CFLAGS+= -mlongcalls -mtext-section-literals
-TARGET_CXXFLAGS+= -mlongcalls -mtext-section-literals
-endif
-endif
-
# add configured compiler flags for optimization
TARGET_CFLAGS+= $(ADK_TARGET_CFLAGS_OPT)
TARGET_CXXFLAGS+= $(ADK_TARGET_CFLAGS_OPT)