Commit a53157a0 authored by John van Groningen's avatar John van Groningen
Browse files

add -no-pie when calling gcc on 64 bit linux

parent 6aef15e8
......@@ -432,6 +432,7 @@ Link linker winfun path
= (ps,link_ok)
//Call gcc
# ld_args = ["-o",path,temp_file_name:add_options_string_to_args 0 opts (StrictListToList (Append library_file_names "-lm"))]
ld_args = IF_MACOSX ld_args (IF_INT_64_OR_32 ["-no-pie":ld_args] ld_args)
# ld = "/usr/bin/gcc"
# (argv,args_memory) = make_argv [ld,"-s":ld_args]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment