diff --git a/debian/rules b/debian/rules index 9c9fe91..3b0d7d7 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,12 @@ #!/usr/bin/make -f + +# Enable NEON for armhf builds +include /usr/share/dpkg/architecture.mk +ifeq ($(DEB_HOST_ARCH), armhf) + export DEB_CFLAGS_MAINT_APPEND = -mfpu=neon + export DEB_CXXFLAGS_MAINT_APPEND = -mfpu=neon +endif + %: dh $@