this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-secondary-compiler.4.08.1: Bring the GCC 10 patch from ocaml-secondary-compiler.4.08.1-1

Kate b1fc69c8 33aa1026

+36
+34
packages/ocaml-secondary-compiler/ocaml-secondary-compiler.4.08.1/files/fix-gcc10.patch
··· 1 + commit 3f10a16153308f967149917585d2bc0b9c06492c 2 + Author: Anil Madhavapeddy <anil@recoil.org> 3 + Date: Sun Jun 21 18:40:27 2020 +0100 4 + 5 + Add `-fcommon` unconditionally to CFLAGS to fix gcc10 build 6 + 7 + Signed-off-by: Anil Madhavapeddy <anil@recoil.org> 8 + 9 + diff --git a/configure b/configure 10 + index 9a78a4554..0c54b560b 100755 11 + --- a/configure 12 + +++ b/configure 13 + @@ -12424,7 +12424,7 @@ $as_echo "$as_me: WARNING: Consider using GCC version 4.2 or above." >&2;}; 14 + -fno-builtin-memcmp"; 15 + internal_cflags="$gcc_warnings" ;; #( 16 + gcc-*) : 17 + - common_cflags="-O2 -fno-strict-aliasing -fwrapv"; 18 + + common_cflags="-O2 -fno-strict-aliasing -fwrapv -fcommon"; 19 + internal_cflags="$gcc_warnings" ;; #( 20 + msvc-*) : 21 + common_cflags="-nologo -O2 -Gy- -MD" 22 + diff --git a/configure.ac b/configure.ac 23 + index f5d8a2687..775e0e2db 100644 24 + --- a/configure.ac 25 + +++ b/configure.ac 26 + @@ -540,7 +540,7 @@ AS_CASE([$host], 27 + -fno-builtin-memcmp"; 28 + internal_cflags="$gcc_warnings"], 29 + [gcc-*], 30 + - [common_cflags="-O2 -fno-strict-aliasing -fwrapv"; 31 + + [common_cflags="-O2 -fno-strict-aliasing -fwrapv -fcommon"; 32 + internal_cflags="$gcc_warnings"], 33 + [msvc-*], 34 + [common_cflags="-nologo -O2 -Gy- -MD"
+2
packages/ocaml-secondary-compiler/ocaml-secondary-compiler.4.08.1/opam
··· 28 28 extra-files: [ 29 29 ["0001-Don-t-build-manpages-for-stdlib-docs.patch" "md5=6caa580fe6031c109d2dc96b19bd40cd"] 30 30 ["0001-Fix-failure-to-install-tools-links.patch" "md5=e973762c0b3d62b0b25a26468086fae3"] 31 + ["fix-gcc10.patch" "md5=17ecd696a8f5647a4c543280599f6974"] 31 32 ] 32 33 patches: [ 33 34 "0001-Don-t-build-manpages-for-stdlib-docs.patch" 34 35 "0001-Fix-failure-to-install-tools-links.patch" 36 + "fix-gcc10.patch" 35 37 ] 36 38 available: !(os = "macos" & arch = "arm64") 37 39 post-messages: [