Stijn Tintel 65f5eec96b dev-util/rocminfo: enable release build
The rocminfo CMake file uses a custom variable named ROCRTST_BLD_TYPE to
set CMAKE_BUILD_TYPE. When not set, this defaults to Debug, which adds
-O0 to CXXFLAGS. This overrides the optimization flags in CXXFLAGS in
make.conf.

When the CXXFLAGS in make.conf contain _FORTIFY_SOURCE, this breaks
compilation with the following error:

/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~

Fix this by setting the ROCRTST_BLD_TYPE variable to Release in
mycmakeargs.

Closes: https://bugs.gentoo.org/887583
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Closes: https://github.com/gentoo/gentoo/pull/27145
Signed-off-by: Sam James <sam@gentoo.org>
2023-03-11 16:25:16 +00:00
2023-03-04 09:39:35 -05:00
2023-03-11 17:17:42 +01:00
2023-03-09 06:58:55 +01:00
2023-03-11 16:24:00 +00:00
2023-03-07 04:33:55 -05:00
2023-03-11 09:01:59 +01:00
2023-02-22 09:20:36 +01:00
2023-03-04 01:00:41 +01:00
2023-03-08 13:08:12 -05:00
2023-03-11 17:17:41 +01:00
2023-03-09 08:17:16 +00:00
2023-02-26 23:29:19 -05:00
2023-03-09 15:12:42 -05:00
2023-03-02 12:59:25 +01:00
2023-03-09 10:06:29 -06:00
2023-03-11 16:24:03 +00:00
2023-03-11 16:23:59 +00:00
2023-03-10 13:24:45 -06:00
2023-03-11 16:24:06 +00:00
2023-03-05 09:41:58 +01:00
2023-02-24 08:29:55 +01:00
2023-03-11 19:06:16 +08:00
2023-03-11 11:19:50 -05:00
S
Description
No description provided
9.8 GiB
Languages
Shell 97.9%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%