view src/of-specfun-1-cross-fixes.patch @ 4354:79d895171597

qt: use -std=gnu++98 * src/qt.mk: use CXXFLAGS=-std=gnu++98
author John D
date Thu, 23 Feb 2017 14:08:11 -0500
parents bdcddfdc57d0
children
line wrap: on
line source

diff -ur specfun.orig/src/Makefile specfun/src/Makefile
--- specfun.orig/src/Makefile	2015-12-26 20:11:36.382164834 -0500
+++ specfun/src/Makefile	2015-12-26 20:12:17.449868085 -0500
@@ -1,6 +1,8 @@
+MKOCTFILE ?= mkoctfile
+
 all: ellipj.oct
 
 %.oct: %.cc
-	mkoctfile -s $<
+	$(MKOCTFILE) -s $<
 
 clean: ; -rm *.o core octave-core *.oct *~