summaryrefslogtreecommitdiff
path: root/utils/ccomp.ml
diff options
context:
space:
mode:
authorFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>2013-06-05 16:34:40 +0000
committerFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>2013-06-05 16:34:40 +0000
commitad6c2858186c69f7fc85ae1eddcb484b6315b322 (patch)
tree494b73f088b34575234b785b439c676bffac68f8 /utils/ccomp.ml
parent1f9f68a328b6c96188ee48430b09ffee754e7b67 (diff)
downloadocaml-ad6c2858186c69f7fc85ae1eddcb484b6315b322.tar.gz
Improved implementation of OCAMLPARAM
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13747 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'utils/ccomp.ml')
-rw-r--r--utils/ccomp.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/ccomp.ml b/utils/ccomp.ml
index cd318b48c7..bbc8e3f0b3 100644
--- a/utils/ccomp.ml
+++ b/utils/ccomp.ml
@@ -58,7 +58,7 @@ let compile_file name =
if !Clflags.native_code
then Config.native_c_compiler
else Config.bytecomp_c_compiler)
- (String.concat " " (List.rev !Clflags.ccopts))
+ (String.concat " " (List.rev !Clflags.all_ccopts))
(quote_prefixed "-I" (List.rev !Clflags.include_dirs))
(Clflags.std_include_flag "-I")
(Filename.quote name))
@@ -119,7 +119,7 @@ let call_linker mode output_name files extra =
(if !Clflags.gprofile then Config.cc_profile else "")
"" (*(Clflags.std_include_flag "-I")*)
(quote_prefixed "-L" !Config.load_path)
- (String.concat " " (List.rev !Clflags.ccopts))
+ (String.concat " " (List.rev !Clflags.all_ccopts))
files
extra
in