diff options
Diffstat (limited to 'use_fpic_for_libadalang.patch')
-rw-r--r-- | use_fpic_for_libadalang.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/use_fpic_for_libadalang.patch b/use_fpic_for_libadalang.patch deleted file mode 100644 index 7b5a9fb07196..000000000000 --- a/use_fpic_for_libadalang.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- build/lib/gnat/libadalang.gpr 2017-06-14 20:38:02.947741666 +1000 -+++ build/lib/gnat/libadalang.gpr-new 2017-06-14 20:39:57.568356667 +1000 -@@ -88,9 +88,9 @@ - for Default_Switches ("Ada") use - Common_Ada_Cargs & ("-g", "-O0", "-gnatwe", "-gnata"); - -- for Default_Switches ("C") use Common_C_Cargs & ("-g3", "-O0"); -+ for Default_Switches ("C") use Common_C_Cargs & ("-g3", "-O0", "-fPIC"); - -- for Switches ("quex_lexer.c") use Common_C_Cargs & ("-g0", "-O0"); -+ for Switches ("quex_lexer.c") use Common_C_Cargs & ("-g0", "-O0", "-fPIC"); - -- This file is *huge* and the debugging information for it harms - -- Valgrind runs. We almost never have to debug this file so - -- this is acceptable. -@@ -101,13 +101,13 @@ - for Default_Switches ("Ada") use - Common_Ada_Cargs & ("-g", "-Ofast", "-gnatp", "-gnatn2"); - -- for Default_Switches ("C") use Common_C_Cargs & ("-Ofast"); -+ for Default_Switches ("C") use Common_C_Cargs & ("-Ofast", "-fPIC"); - - case Target is - when "x86-linux" | "x86-windows" => - for Switches ("quex_lexer.c") use Common_C_Cargs - & ("-Ofast", "-fno-ree", "-fdisable-rtl-cprop_hardreg", -- "-fdisable-rtl-sched2", "-mno-stv"); -+ "-fdisable-rtl-sched2", "-mno-stv", "-fPIC"); - -- Deactivate because of memory usage, see P726-024. This - -- limits the memory usage peaks of GCC 6 based compilers - -- and should prevent OOM on 32-bit platforms. |