Source: quirc
Version: 1.2-2
Tags: patch
User: [email protected]
Usertags: ftcbfs
X-Debbugs-Cc: [email protected]
quirc FTCBFS because it uses bare `$(MAKE)` which will not pass in the
arch-specific
CC/CXX and hence would cause the package to use the build-compiler instead of
the host
one. Just using `dh_auto_build` does the right thing and fixes it. Please
consider to
apply the patch below.
diff --git a/debian/rules b/debian/rules
index f674cab..2e75deb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,10 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,-soname,libquirc.so.1
export DEB_CFLAGS_MAINT_APPEND = -DQUIRC_MAX_REGIONS=65534 -fPIC
-D_FORTIFY_SOURCE=2
%:
- dh $@
+ dh $@ --buildsystem=makefile
override_dh_auto_build:
- $(MAKE) SDL_CFLAGS= SDL_LIBS= -- libquirc.a libquirc.so
+ dh_auto_build -- SDL_CFLAGS= SDL_LIBS= -- libquirc.a libquirc.so
ln -s libquirc.so.1.2 libquirc.so.1
ln -s libquirc.so.1 libquirc.so