view src/of-ocs-1-cross-fixes.patch @ 6213:5f64fb928091 release

build-gcc: Avoid library clash when calling msgfmt. * src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when calling `msgfmt`. * dist-files.mk: Add patch to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 06 May 2022 19:36:10 +0200
parents cdbce8086eaa
children
line wrap: on
line source

diff -ur ocs.old/src/Makefile ocs/src/Makefile
--- ocs.old/src/Makefile	2015-07-07 20:23:51.000000000 -0400
+++ ocs/src/Makefile	2015-07-07 20:24:25.000000000 -0400
@@ -1,9 +1,10 @@
 OCTFILES:=Mshichmanhodgesmosfet.oct
+MKOCTFILE ?= mkoctfile
 
 all: $(OCTFILES)
 
 %.oct:  %.cc
-	mkoctfile $<
+	$(MKOCTFILE) $<
 
 clean:
 	-rm -f *.o core octave-core *.oct *~