diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-11-08 14:01:58 +0100 |
---|---|---|
committer | Mitch Bradley <wmb@firmworks.com> | 2019-11-08 07:30:53 -1000 |
commit | 5127d532cab4b0779aa249c966a32ad61b3f0721 (patch) | |
tree | aee3371f43524e81b482a2912e0c17e4c0875b6b | |
parent | d877209e8e269af4f319661d6a2b9e7e6a78fc23 (diff) | |
download | cforth-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-x | src/platform/arm-xo-1.75/targets.mk | 2 |
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 |