aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-11-08 14:01:58 +0100
committerMitch Bradley <wmb@firmworks.com>2019-11-08 07:30:53 -1000
commit5127d532cab4b0779aa249c966a32ad61b3f0721 (patch)
treeaee3371f43524e81b482a2912e0c17e4c0875b6b
parentd877209e8e269af4f319661d6a2b9e7e6a78fc23 (diff)
downloadcforth-5127d532cab4b0779aa249c966a32ad61b3f0721.tar.gz
arm-xo-1.75: turn off PIE by default
It makes no sense, our code executes from the same address. It also adds a .git section we are not able to handle. However, some compilers turn it on by default (e.g. Debian) and it needs to be turned off explicitly.
-rwxr-xr-xsrc/platform/arm-xo-1.75/targets.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platform/arm-xo-1.75/targets.mk b/src/platform/arm-xo-1.75/targets.mk
index 63a68ca..86f2eba 100755
--- a/src/platform/arm-xo-1.75/targets.mk
+++ b/src/platform/arm-xo-1.75/targets.mk
@@ -17,6 +17,8 @@ include $(SRC)/common.mk
include $(SRC)/cforth/targets.mk
include $(SRC)/cforth/embed/targets.mk
+TCFLAGS += -fno-pie
+
DUMPFLAGS = --disassemble -z -x -s
# Platform-specific object files for low-level startup and platform I/O