projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use attribute force_align_arg_pointer only for architectures where it
[SXSI/xpathcomp.git]
/
myocamlbuild.ml
diff --git
a/myocamlbuild.ml
b/myocamlbuild.ml
index
6f27e4e
..
6121130
100644
(file)
--- a/
myocamlbuild.ml
+++ b/
myocamlbuild.ml
@@
-20,7
+20,7
@@
let link_flags = [ A"-linkpkg" ]
let libs_files = List.map (fun s -> "file:" ^ s) cxx_libs_objects
let libs_files = List.map (fun s -> "file:" ^ s) cxx_libs_objects
-let native_compile_flags =
ref [A"-fno-PIC"
]
+let native_compile_flags =
if Sys.word_size = 64 then ref [A"-fno-PIC"] else ref [
]
let compile_flags = ref []
let dwsize = sprintf "-DWORDSIZE%i" Sys.word_size
let compile_flags = ref []
let dwsize = sprintf "-DWORDSIZE%i" Sys.word_size