Produce position-independent code by default. This makes it easier to embed Caml code in a shared library.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
033ce4b17a
commit
8a2cea5444
|
@ -14,11 +14,13 @@
|
|||
|
||||
(* Machine-specific command-line options *)
|
||||
|
||||
let pic_code = ref false
|
||||
let pic_code = ref true
|
||||
|
||||
let command_line_options =
|
||||
[ "-fPIC", Arg.Set pic_code,
|
||||
" Generate position-independent machine code" ]
|
||||
" Generate position-independent machine code (default)";
|
||||
"-fno-PIC", Arg.Clear pic_code,
|
||||
" Generate position-dependent machine code" ]
|
||||
|
||||
(* Specific operations for the AMD64 processor *)
|
||||
|
||||
|
|
Loading…
Reference in New Issue