Commit d9fe8eaa authored by Kyle Robbertze's avatar Kyle Robbertze

Work towards bytecode compilation

parent e78b5935
...@@ -5,12 +5,14 @@ include /usr/share/ocaml/ocamlvars.mk ...@@ -5,12 +5,14 @@ include /usr/share/ocaml/ocamlvars.mk
OMAKE=omake OMAKE=omake
DESTDIR=$(CURDIR)/debian/tmp DESTDIR=$(CURDIR)/debian/tmp
export OCAMLFLAGS = -g
export OCAMLFIND_DESTDIR=$(DESTDIR)$(OCAML_STDLIB_DIR) export OCAMLFIND_DESTDIR=$(DESTDIR)$(OCAML_STDLIB_DIR)
export OCAMLFIND_LDCONF=ignore export OCAMLFIND_LDCONF=ignore
ifeq ($(OCAML_HAVE_OCAMLOPT),no) #ifeq ($(OCAML_HAVE_OCAMLOPT),no)
export NATIVE_ENABLED=0 export NATIVE_ENABLED=false
export BYTE_ENABLED=true
export OCAMLFIND_PREDICATES=byte export OCAMLFIND_PREDICATES=byte
endif #endif
ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS))) ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
OMAKE += --verbose OMAKE += --verbose
...@@ -38,7 +40,3 @@ override_dh_installexamples: ...@@ -38,7 +40,3 @@ override_dh_installexamples:
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
dh_installexamples -X'.cm*' -X.o -Xliv-furuse -X.cvsignore dh_installexamples -X'.cm*' -X.o -Xliv-furuse -X.cvsignore
endif endif
.PHONY: override_dh_strip
override_dh_strip:
dh_strip --no-automatic-dbgsym
Markdown is supported
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