summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-11-30 20:31:00 +0100
committerTupone Alfredo <tupone@gentoo.org>2018-11-30 20:31:00 +0100
commit473ba9da56f59fc0bb59045d51629d14dd0c00b8 (patch)
tree77b8cb1237ef6855b5c7bd977e87a9f4c42c79f1 /dev-ada/gprbuild/files
parentdev-python/unidecode: Bump to 1.0.23 (diff)
downloadgentoo-473ba9da56f59fc0bb59045d51629d14dd0c00b8.tar.gz
gentoo-473ba9da56f59fc0bb59045d51629d14dd0c00b8.tar.bz2
gentoo-473ba9da56f59fc0bb59045d51629d14dd0c00b8.zip
dev-ada/gprbuild: add -no-pie
Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ada/gprbuild/files')
-rw-r--r--dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch b/dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch
index 1f967b61d4c..34936ea1f52 100644
--- a/dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch
+++ b/dev-ada/gprbuild/files/gprbuild-2018-gentoo.patch
@@ -264,12 +264,21 @@
</configuration>
--- a/share/gprconfig/linker.xml 2018-10-17 21:36:15.856883517 +0200
+++ b/share/gprconfig/linker.xml 2018-10-17 21:35:15.985896804 +0200
+@@ -1025,7 +1025,7 @@
+ </targets>
+ <config>
+ for Library_Partial_Linker use
+- ("${PATH(ada)}${PREFIX(ada)}gcc", "-nostdlib", "-Wl,-r", "-o");
++ ("${PATH(ada)}${PREFIX(ada)}gcc-@VER@", "-nostdlib", "-Wl,-r", "-no-pie", "-o");
+ </config>
+ </configuration>
+
@@ -1044,7 +1044,7 @@
</targets>
<config>
for Library_Partial_Linker use
- ("${PATH(c)}${PREFIX(c)}gcc", "-nostdlib", "-Wl,-r", "-o");
-+ ("${PATH(c)}${PREFIX(c)}gcc-@VER@", "-nostdlib", "-Wl,-r", "-o");
++ ("${PATH(c)}${PREFIX(c)}gcc-@VER@", "-nostdlib", "-Wl,-r", "-no-pie", "-o");
</config>
</configuration>