* Pass --disable-asm for static build to prevent it being
armv7/neon contaminated.
+ [Changes introduced in 2:0.159.2999+git296494a-2+rpi1 by Peter Michael Green]
+ * Fix build with make 4.2
+
-- Raspbian forward porter <root@raspbian.org> Thu, 23 Jul 2020 20:26:51 +0000
x264 (2:0.159.2999+git296494a-2) unstable; urgency=medium
#!/usr/bin/make -f
-libx264N := libx264-$(shell awk '/#define X264_BUILD/{print $$3}' x264.h)
+# GNU make 4.3 changes the escaping rules for the hash sign, the reccomended
+# way to maintain compatibility with both 4.2 and 4.3 is to use a variable
+# see https://lwn.net/Articles/810071/
+HASHDEFINE:=\#define
+libx264N := libx264-$(shell awk '/$(HASHDEFINE) X264_BUILD/{print $$3}' x264.h)
include /usr/share/dpkg/architecture.mk
include debian/confflags