Mercurial > mxe-octave
view src/of-interval-1-cross-fixes.patch @ 4407:e9b032b9340a
octave: cross-compile gnulib time functions correctly (bug #51351)
* default-octave.mk: Define gl_cv_func_tzset_clobber=no to bypass faulty
configure test when cross-compiling.
* octave.mk: Likewise.
* stable-octave.mk: Likewise.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Sat, 08 Jul 2017 08:55:57 -0700 |
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