From a7417a86fa394efa45dc5a1b87cc10864e2be20f Mon Sep 17 00:00:00 2001 From: "Alejandro W. Sior" Date: Fri, 3 Feb 2023 10:03:37 +0100 Subject: gcc-7: rename from gcc-7-il, add quality of life patches --- ...30-Add-__illumos__-preprocessor-definition.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 gcc-7/files/0030-Add-__illumos__-preprocessor-definition.patch (limited to 'gcc-7/files/0030-Add-__illumos__-preprocessor-definition.patch') diff --git a/gcc-7/files/0030-Add-__illumos__-preprocessor-definition.patch b/gcc-7/files/0030-Add-__illumos__-preprocessor-definition.patch new file mode 100644 index 0000000..87b475a --- /dev/null +++ b/gcc-7/files/0030-Add-__illumos__-preprocessor-definition.patch @@ -0,0 +1,21 @@ +From 5e989249376716b0257a4ca8532c261e09aee2cc Mon Sep 17 00:00:00 2001 +From: Andy Fiddaman +Date: Wed, 28 Apr 2021 11:40:25 +0000 +Subject: Add __illumos__ preprocessor definition + +--- + gcc/config/sol2.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h +index d48e89c4fb0..74e429619b2 100644 +--- a/gcc/config/sol2.h ++++ b/gcc/config/sol2.h +@@ -85,6 +85,7 @@ along with GCC; see the file COPYING3. If not see + do { \ + builtin_define_std ("unix"); \ + builtin_define_std ("sun"); \ ++ builtin_define ("__illumos__"); \ + builtin_define ("__svr4__"); \ + builtin_define ("__SVR4"); \ + builtin_assert ("system=unix"); \ -- cgit v1.2.3