aboutsummaryrefslogtreecommitdiff
path: root/development/ocaml/configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/ocaml/configure.patch')
-rw-r--r--development/ocaml/configure.patch24
1 files changed, 12 insertions, 12 deletions
diff --git a/development/ocaml/configure.patch b/development/ocaml/configure.patch
index 31309d35115c..4809a26c640f 100644
--- a/development/ocaml/configure.patch
+++ b/development/ocaml/configure.patch
@@ -1,12 +1,12 @@
-diff -Naur ocaml-4.08.1.orig/configure ocaml-4.08.1/configure
---- ocaml-4.08.1.orig/configure 2019-08-05 19:32:44.000000000 +0200
-+++ ocaml-4.08.1/configure 2019-09-06 10:35:25.454923040 +0200
-@@ -12424,7 +12424,7 @@
- -fno-builtin-memcmp";
- internal_cflags="$gcc_warnings" ;; #(
- gcc-*) :
-- common_cflags="-O2 -fno-strict-aliasing -fwrapv";
-+ common_cflags="@CFLAGS@ -fno-strict-aliasing -fwrapv";
- internal_cflags="$gcc_warnings" ;; #(
- msvc-*) :
- common_cflags="-nologo -O2 -Gy- -MD"
+diff -Naur ocaml-4.13.1.orig/configure ocaml-4.13.1/configure
+--- ocaml-4.13.1.orig/configure 2021-09-30 17:40:11.000000000 +0200
++++ ocaml-4.13.1/configure 2022-02-15 16:03:05.417656000 +0100
+@@ -12758,7 +12758,7 @@
+ internal_cflags="-Wno-unused $cc_warnings \
+ -fexcess-precision=standard"
+ # TODO: see whether the code can be fixed to avoid -Wno-unused
+- common_cflags="-O2 -fno-strict-aliasing -fwrapv -mms-bitfields"
++ common_cflags="@CFLAGS@ -fno-strict-aliasing -fwrapv -mms-bitfields"
+ internal_cppflags='-D__USE_MINGW_ANSI_STDIO=0 -DUNICODE -D_UNICODE'
+ internal_cppflags="$internal_cppflags -DWINDOWS_UNICODE="
+ internal_cppflags="${internal_cppflags}\$(WINDOWS_UNICODE)" ;; #(