gfortran to avoid "'-Wno-multichar' is valid for C/C++/ObjC/ObjC++ bu… (#13250)

* gfortran to avoid "'-Wno-multichar' is valid for C/C++/ObjC/ObjC++ but not for fortran"

* Bump up the REVISION of sys-devel/gcc/gcc-13.3.0_2023_08_10.recipe
This commit is contained in:
Kazuyoshi Furutaka
2025-11-25 17:05:29 +09:00
committed by GitHub
parent 784075036a
commit 7b5e154ccd
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ HOMEPAGE="https://gcc.gnu.org/"
COPYRIGHT="1988-2023 Free Software Foundation, Inc."
LICENSE="GNU GPL v3
GNU LGPL v3"
REVISION="5"
REVISION="6"
gccVersion="${portVersion%%_*}"
SOURCE_URI="https://ftpmirror.gnu.org/gcc/gcc-$gccVersion/gcc-$gccVersion.tar.xz
https://ftp.gnu.org/gnu/gcc/gcc-$gccVersion/gcc-$gccVersion.tar.xz"

View File

@@ -5261,7 +5261,7 @@ index 0000000..88adc25
+ registers, and the performance impact is too high. */
+#define HAIKU_CC1_SPEC \
+ "%{fpic|fPIC|fpie|fPIE|fno-pic|fno-PIC|fno-pie|fno-PIE:;:-fPIC} \
+ %{!Wmultichar: -Wno-multichar} %(cc1_cpu) %{profile:-p}"
+ %{!,f95:%{!,f77:%{!,f95-cpp-input:%{!,f77-cpp-input:%{!Wmultichar: -Wno-multichar}}}}} %(cc1_cpu) %{profile:-p}"
+#undef CC1_SPEC
+#define CC1_SPEC \
+ HAIKU_CC1_SPEC " %{!fomit-frame-pointer: -fno-omit-frame-pointer}"