mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-04 03:53:32 +02:00
SCRIPTS: build: enable symbols in AWS-LC builds
The Release target of AWS-LC does not enable symbols. Which makes debugging and using gdb difficult. Change the build type to RelWithDebInfo.
This commit is contained in:
@@ -156,7 +156,7 @@ build_aws_lc () {
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake -version
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 -DDISABLE_GO=1 -DDISABLE_PERL=1 \
|
||||
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=1 -DDISABLE_GO=1 -DDISABLE_PERL=1 \
|
||||
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=${BUILDSSL_DESTDIR}/lib \
|
||||
-DBUILD_TESTING=0 -DCMAKE_INSTALL_PREFIX=${BUILDSSL_DESTDIR} ..
|
||||
make -j$(nproc)
|
||||
@@ -184,7 +184,7 @@ build_aws_lc_fips () {
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake -version
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DFIPS=1 -DBUILD_SHARED_LIBS=1 \
|
||||
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DFIPS=1 -DBUILD_SHARED_LIBS=1 \
|
||||
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=${BUILDSSL_DESTDIR}/lib \
|
||||
-DBUILD_TESTING=0 -DCMAKE_INSTALL_PREFIX=${BUILDSSL_DESTDIR} ..
|
||||
make -j$(nproc)
|
||||
|
||||
Reference in New Issue
Block a user