python-sherpa/reproducible.patch

27 lines
1.0 KiB
Diff
Raw Normal View History

Index: sherpa-4.12.0/extern/fftw-3.3.8/configure
===================================================================
--- sherpa-4.12.0.orig/extern/fftw-3.3.8/configure
+++ sherpa-4.12.0/extern/fftw-3.3.8/configure
@@ -14506,7 +14506,7 @@ main ()
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
- ax_cv_c_flags__mtune_native=yes
+ ax_cv_c_flags__mtune_native=no
else
ax_cv_c_flags__mtune_native=no
fi
Index: sherpa-4.12.0/extern/fftw-3.3.8/m4/ax_cc_maxopt.m4
===================================================================
--- sherpa-4.12.0.orig/extern/fftw-3.3.8/m4/ax_cc_maxopt.m4
+++ sherpa-4.12.0/extern/fftw-3.3.8/m4/ax_cc_maxopt.m4
@@ -73,7 +73,7 @@ if test "$ac_test_CFLAGS" != "set"; then
CFLAGS="-O3 -fomit-frame-pointer"
# tune for the host by default
- AX_CHECK_COMPILER_FLAGS(-mtune=native, CFLAGS="$CFLAGS -mtune=native")
+ #AX_CHECK_COMPILER_FLAGS(-mtune=native, CFLAGS="$CFLAGS -mtune=native")
# -malign-double for x86 systems
AX_CHECK_COMPILER_FLAGS(-malign-double, CFLAGS="$CFLAGS -malign-double")