Author: Ralf Treinen <treinen@debian.org>
Description: fix build target on bytecode-only architectures

Index: ppx-deriving-yojson/Makefile
===================================================================
--- ppx-deriving-yojson.orig/Makefile	2018-07-12 08:29:35.665407949 +0200
+++ ppx-deriving-yojson/Makefile	2018-07-12 08:29:51.037483746 +0200
@@ -1,6 +1,13 @@
+OCAMLOPT := $(shell which ocamlopt)
+ifeq ($(OCAMLOPT),)
+	NATIVE := false
+else
+	NATIVE := true
+endif
+
 build:
 	cp pkg/META.in pkg/META
-	ocaml pkg/build.ml native=true native-dynlink=true
+	ocaml pkg/build.ml native=$(NATIVE) native-dynlink=$(NATIVE)
 
 test: build
 	rm -rf _build/src_test/
