Skip to content

Commit 2564082

Browse files
authored
use build type RelWithDebInfo to generate debug info with sources (#10611)
Changes build of SymCrypt-OpenSSL so sources are included in the debuginfo rpm. We had been building with CMAKE_BUILD_TYPE set to Release rather than RelWithDebInfo. Here's a good discussion of the differences.
1 parent fd3f001 commit 2564082

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

SPECS/SymCrypt-OpenSSL/SymCrypt-OpenSSL.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: The SymCrypt engine for OpenSSL (SCOSSL) allows the use of OpenSSL with SymCrypt as the provider for core cryptographic operations
22
Name: SymCrypt-OpenSSL
33
Version: 1.5.1
4-
Release: 1%{?dist}
4+
Release: 2%{?dist}
55
License: MIT
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
@@ -39,7 +39,7 @@ cmake .. \
3939
-DOPENSSL_ROOT_DIR="%{_prefix}/local/ssl" \
4040
-DSYMCRYPT_ROOT_DIR=%{buildroot}%{_includedir}/.. \
4141
-DCMAKE_TOOLCHAIN_FILE="../cmake-toolchain/LinuxUserMode-%{symcrypt_arch}.cmake" \
42-
-DCMAKE_BUILD_TYPE=Release
42+
-DCMAKE_BUILD_TYPE=RelWithDebInfo
4343

4444
cmake --build .
4545

@@ -67,6 +67,9 @@ install SymCryptProvider/symcrypt_prov.cnf %{buildroot}%{_sysconfdir}/pki/tls/sy
6767
%{_sysconfdir}/pki/tls/symcrypt_prov.cnf
6868

6969
%changelog
70+
* Wed Oct 02 2024 Tobias Brick <tobiasb@microsoft.com> - 1.5.1-2
71+
- Add sources to debuginfo package
72+
7073
* Wed Aug 21 2024 Maxwell Moyer-McKee <mamckee@microsoft.com> - 1.5.1-1
7174
- Fix minor behavior differences with default provider
7275

0 commit comments

Comments
 (0)