diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2020-04-25 18:06:03 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2020-04-25 18:06:03 +0000 |
commit | 96d4c5121cc44db615d623ad4e446512a0559c0d (patch) | |
tree | bbb82f3a06a3d56a5cb97f6f6ef71e05f8a5a3d3 /math/singular/files/patch-m4_flags.m4 | |
parent | graphics/bmeps: Update to 4.29.0 (diff) |
- depend on NTL: this is mandatory for SageMath, but if some users want
a lighter package, I set it as an option.
- upgrade to the latest 4.1.3: it builds with 4.1.2 but 4.1.3 is said as
fixing some errors seen in SageMath.
- since I was here, remove the OPTFLAGS.
PR: 245897
Submitted by: /me
Approved by: yuri (maintainer)
Notes
Notes:
svn path=/head/; revision=532966
Diffstat (limited to 'math/singular/files/patch-m4_flags.m4')
-rw-r--r-- | math/singular/files/patch-m4_flags.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/singular/files/patch-m4_flags.m4 b/math/singular/files/patch-m4_flags.m4 new file mode 100644 index 000000000000..d6e21e0bceab --- /dev/null +++ b/math/singular/files/patch-m4_flags.m4 @@ -0,0 +1,11 @@ +--- m4/flags.m4.orig 2020-01-24 09:42:54 UTC ++++ m4/flags.m4 +@@ -122,7 +122,7 @@ AC_DEFUN([SING_CHECK_SET_ARGS], [ + ## for clang: -Wunneeded-internal-declaration + + if test "x${ENABLE_OPTIMIZATION}" != xno; then +- OPTFLAGS="-g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops -fno-delete-null-pointer-checks" ++ OPTFLAGS="-Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops -fno-delete-null-pointer-checks" + # -O3 - crashes gcc???!!! + # -fpermissive + AC_LANG_PUSH([C]) |