void-packages/srcpkgs/notmuch/patches/cross.patch

12 lines
338 B
Diff
Raw Normal View History

2017-08-15 15:36:43 +00:00
--- configure.orig
+++ configure
@@ -370,7 +370,7 @@
return 0;
}
EOF
-if ${CC} ${CFLAGS} -I"$srcdir" _libversion.c -o _libversion > /dev/null 2>&1 \
+if ${BUILD_CC} ${BUILD_CFLAGS} -I"$srcdir" _libversion.c -o _libversion > /dev/null 2>&1 \
&& ./_libversion > _libversion.sh && . ./_libversion.sh
then
printf "OK.\n"