Source: fastdnaml
Version: 1.2.2-13
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap
fastdnaml fails to cross build from source, because the upstream
Makefile hard codes the build architecture compiler. After making it
substitutable, fastdnaml cross builds successfully. Please consider
applying the attached patch.
Helmut
--- fastdnaml-1.2.2.orig/Makefile
+++ fastdnaml-1.2.2/Makefile
@@ -1,7 +1,7 @@
all: fastDNAml
fastDNAml:
- (cd source; cc ${CFLAGS} fastDNAml.c -o fastDNAml -lm ${LDFLAGS})
+ cd source && $(CC) ${CFLAGS} fastDNAml.c -o fastDNAml -lm ${LDFLAGS}
install:
install -m0755 source/fastDNAml debian/fastDNAml-util ${DESTDIR}/usr/bin