summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--NEWS1
-rw-r--r--src/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3eb2a37..a7f7e2c 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ PREFIX = /usr
BINDIR = $(PREFIX)/bin
DATADIR = $(PREFIX)/share
fake_packages_dir = $(DATADIR)/perl_checker/fake_packages
-PERL_CHECKER_TARGET = native-code
+PERL_CHECKER_TARGET ?= native-code
VERSION = 1.2.43
NAME = perl_checker
@@ -36,4 +36,3 @@ tar: dist
dist: clean
@git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz;
$(info $(NAME)-$(VERSION).tar.xz is ready)
-
diff --git a/NEWS b/NEWS
index b3a7674..cd3b2ae 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- Allow byte-code build when native code is not available
- Fix compiling with ocaml-5.3.0
- Fake packages:
o Sync Gtk3::Notify fake package with libnotify-0.8.1
diff --git a/src/Makefile b/src/Makefile
index 9f718c3..3aae3f4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,7 +3,7 @@ OCAMLBCFLAGS = -g -w A -w e
YFLAGS = -v
TRASH = parser.output perl_checker.html TAGS
RESULT = perl_checker
-BCSUFFIX = _debug
+# BCSUFFIX = _debug
SOURCES = types.mli build.ml common.ml flags.ml config_file.ml info.ml parser_helper.ml parser.mly lexer.mll tree.ml global_checks.ml perl_checker.ml
LIBS = unix
fake_packages_dir = $(shell dirname `pwd`)/fake_packages