Default to PIC on arm
authorMehdi Dogguy <mehdi@debian.org>
Sun, 6 Nov 2016 09:36:00 +0000 (10:36 +0100)
committerStéphane Glondu <glondu@debian.org>
Thu, 13 Jul 2017 02:40:57 +0000 (03:40 +0100)
Otherwise the armhf build fails now that PIE is enabled by default.

Bug-Debian: https://bugs.debian.org/837359
Forwarded: TODO

Gbp-Pq: Name 0012-arm-default-PIC.patch

asmcomp/arm/arch.ml

index d93c1e0e46a6dafb7b598a4854c5ea61365a7d98..354110690fd4b0b49b486dd516342776908f5213 100644 (file)
@@ -56,7 +56,7 @@ let (arch, fpu, thumb) =
     end in
   (ref def_arch, ref def_fpu, ref def_thumb)
 
-let pic_code = ref false
+let pic_code = ref true
 
 let farch spec =
   arch := (match spec with