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

26 lines
789 B
Diff
Raw Normal View History

commit 4e227a03aaf5dfe3f9007c9d5f3516534d6b9006
Author: Érico Rolim <erico.erc@gmail.com>
Date: Fri Feb 26 15:08:28 2021 -0300
Fix cross by building fixpo for the build system.
Necessary after:
https://github.com/Qalculate/libqalculate/commit/8c4526941aed1e39187dba25eb1a74e8f91b56e0
diff --git po-defs/Makefile.in po-defs/Makefile.in
index af5218a..2c0f09e 100644
--- po-defs/Makefile.in
+++ po-defs/Makefile.in
@@ -399,9 +399,8 @@ clean-noinstPROGRAMS:
echo " rm -f" $$list; \
rm -f $$list
-fixpo$(EXEEXT): $(fixpo_OBJECTS) $(fixpo_DEPENDENCIES) $(EXTRA_fixpo_DEPENDENCIES)
- @rm -f fixpo$(EXEEXT)
- $(AM_V_CXXLD)$(CXXLINK) $(fixpo_OBJECTS) $(fixpo_LDADD) $(LIBS)
+fixpo$(EXEEXT): $(fixpo_SOURCES)
+ g++ $< -o $@
mostlyclean-compile:
-rm -f *.$(OBJEXT)