view src/of-ocs-1-cross-fixes.patch @ 5652:eccf230ad6c1

default-octave.mk: Add double-quotes only for mingw hosts (bug #59923). * src/default-octave.mk: Adding double-quotes to the CPPFLAGS and LDFLAGS breaks builds for the gnu-linux target. Add double-quotes only for mingw targets.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 07 Feb 2021 10:52:22 +0100
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 *~