Skip to content
Browse files

merge COMPFLAGS and OPTCOMPFLAGS

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14621 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information...
1 parent 3e9a3ad commit 65d56e7164265566b4aecd32470a4be2eb4d8e98 Damien Doligez committed
Showing with 2 additions and 3 deletions.
  1. +2 −3 stdlib/Makefile.shared
View
5 stdlib/Makefile.shared
@@ -18,7 +18,6 @@ CAMLC=$(RUNTIME) $(COMPILER)
COMPFLAGS=-strict-sequence -w +33..39 -g -warn-error A -bin-annot -nostdlib
OPTCOMPILER=../ocamlopt
CAMLOPT=$(RUNTIME) $(OPTCOMPILER)
-OPTCOMPFLAGS=-warn-error A -nostdlib -g -bin-annot
CAMLDEP=../boot/ocamlrun ../tools/ocamldep
OBJS=pervasives.cmo $(OTHERS)
@@ -75,10 +74,10 @@ clean::
$(CAMLC) $(COMPFLAGS) `./Compflags $@` -c $<
.ml.cmx:
- $(CAMLOPT) $(OPTCOMPFLAGS) `./Compflags $@` -c $<
+ $(CAMLOPT) $(COMPFLAGS) `./Compflags $@` -c $<
.ml.p.cmx:
- $(CAMLOPT) $(OPTCOMPFLAGS) `./Compflags $@` -p -c -o $*.p.cmx $<
+ $(CAMLOPT) $(COMPFLAGS) `./Compflags $@` -p -c -o $*.p.cmx $<
# Dependencies on the compiler
$(OBJS) std_exit.cmo: $(COMPILER)

0 comments on commit 65d56e7

Please sign in to comment.
Something went wrong with that request. Please try again.