Commit a12bdc44 authored by Kyle Robbertze's avatar Kyle Robbertze

Enable bytecode compilation (Closes: #918247)

parent b5b177b3
......@@ -14,7 +14,7 @@ export OCAMLFIND_DESTDIR
.PHONY: override_dh_auto_configure
override_dh_auto_configure:
ifeq ($(OCAML_HAVE_OCAMLOPT),no)
sed -i 's/NATIVE_ENABLED=./NATIVE_ENABLED=0/' OMakefile
sed -i 's/NATIVE_ENABLED, ./NATIVE_ENABLED, 0/' OMakefile
endif
.PHONY: override_dh_auto_build
......@@ -30,7 +30,7 @@ override_dh_auto_install:
override_dh_auto_clean:
$(OMAKE) clean
find -name '*.omc' -delete
sed -i 's/NATIVE_ENABLED=./NATIVE_ENABLED=1/' OMakefile
sed -i 's/NATIVE_ENABLED, ./NATIVE_ENABLED, 1/' OMakefile
.PHONY: override_dh_install
override_dh_install:
......
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