Mercurial > mxe-octave
view src/of-interval-1-cross-fixes.patch @ 4438:2db2282dfe9a
build-auutomake: allow build using >= perl 5.22 (Bug #51594)
* src/build-automake-1-perl-5.patch: new file
* dist-files.mk: add ref to build-automake-1-perl-5.patch
author | John D <john.donoghue@ieee.org> |
---|---|
date | Fri, 28 Jul 2017 13:01:18 -0400 |
parents | caa35339a354 |
children | 31fa72e23b71 |
line wrap: on
line source
diff -ur interval-2.1.0.orig/src/Makefile interval-2.1.0/src/Makefile --- interval-2.1.0.orig/src/Makefile 2017-01-12 07:52:23.327056830 -0500 +++ interval-2.1.0/src/Makefile 2017-01-12 07:54:54.896233652 -0500 @@ -18,6 +18,8 @@ ## Use important flags in XTRA_CFLAGS for OpenMP (workaround for bug #45280) CFLAG_OPENMP =$(findstring -fopenmp,$(shell $(MKOCTFILE) -p XTRA_CFLAGS)) +CRLIBM_CONFIG_FLAGS ?= + all: $(OBJ) ## crlibm api oct-file @@ -37,7 +39,7 @@ crlibm/crlibm_private.o: crlibm/crlibm_config.h $(MAKE) -C crlibm CFLAGS+="$(shell $(MKOCTFILE) -p CPICFLAG) -Wno-div-by-zero -Wno-unused-variable -Wno-unused-but-set-variable" crlibm/crlibm_config.h: - (cd crlibm && ./configure --disable-dependency-tracking --enable-sse2) + (cd crlibm && ./configure --disable-dependency-tracking --enable-sse2 $(CRLIBM_CONFIG_FLAGS) ) ## GNU MPFR api oct-files mpfr_matrix_mul_d.oct mpfr_matrix_sqr_d.oct : mpfr_%.oct: mpfr_%.cc mpfr_commons.cc