Skip to content

Commit efdf012

Browse files
committed
Bug #36044149 Extend support for RPM builds with PGO to EL8+
Change the rhel conditoion from == 7 to >= 7 For 8.3+ this condition can be removed since 6 is not supported. Add DISABLE_MISSING_PROFILE_WARNING() to libfido2 as it otherwise fails to compile in the second phase. This was not needed before since libfido2 does not build on EL7. Change-Id: Id2bcf30bdcc073e3257a83aa4edc5367c7f27f2f
1 parent 7d0be53 commit efdf012

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

extra/libfido2/libfido2-1.13.0/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ if(CHECK_PIE_SUPPORTED)
2525
check_pie_supported(LANGUAGES C)
2626
endif()
2727

28+
DISABLE_MISSING_PROFILE_WARNING()
29+
2830
# set(CMAKE_POSITION_INDEPENDENT_CODE ON)
2931
# set(CMAKE_COLOR_MAKEFILE OFF)
3032
# set(CMAKE_VERBOSE_MAKEFILE ON)

packaging/rpm-oel/mysql.spec.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
%global with_router 1
4242
%endif
4343

44-
# PGO option, currently only for el7
45-
%if 0%{?rhel} == 7
44+
# PGO option, not for OEL6
45+
%if 0%{?rhel} >= 7
4646
%{?with_pgo: %global pgo 1}
47-
%endif # rhel7
47+
%endif # rhel >= 7
4848

4949
# Pass path to mecab lib
5050
%{?with_mecab: %global mecab_option -DWITH_MECAB=%{with_mecab}}

0 commit comments

Comments
 (0)