summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-01-06 13:16:32 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-01-06 13:16:32 -0400
commitb2e20f09400a67518042690b2c4e2a955eda44e8 (patch)
treeb9fc4aae643a5a3196d135780aaa23090c97f8cd /Makefile
parent7e132c36c15d948dbda0274acdb4de2ed8934990 (diff)
pass pie options to C compiler, not just to linker
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e762ea697..75c74ff90 100644
--- a/Makefile
+++ b/Makefile
@@ -232,7 +232,7 @@ android: Build/EvilSplicer
--ghc-options=-optl-z --ghc-options=-optlnocopyreloc \
&& mv dist/build/git-annex/git-annex dist/build/git-annex/4.3/git-annex
cd tmp/androidtree && $$HOME/.ghc/$(shell cat standalone/android/abiversion)/arm-linux-androideabi/bin/cabal build \
- --ghc-options=-optl-z --ghc-options=-optlnocopyreloc --ghc-options=-optl-fPIE --ghc-options=-optl-pie \
+ --ghc-options=-optl-z --ghc-options=-optlnocopyreloc --ghc-options=-optl-fPIE --ghc-options=-optl-pie --ghc-options=-optc-fPIE --ghc-options=-optc-pie \
&& mv dist/build/git-annex/git-annex dist/build/git-annex/5.0/git-annex
androidapp: