From 258439f5b91036ccb94ad6c232b3aa5e0d2add08 Mon Sep 17 00:00:00 2001 From: James Mayclin Date: Thu, 17 Oct 2024 15:01:29 -0700 Subject: [PATCH] chore: remove unused compile definition (#4815) --- codebuild/bin/s2n_codebuild.sh | 2 -- codebuild/bin/s2n_codebuild_al.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/codebuild/bin/s2n_codebuild.sh b/codebuild/bin/s2n_codebuild.sh index c7790c9921d..12a3a47e2c1 100755 --- a/codebuild/bin/s2n_codebuild.sh +++ b/codebuild/bin/s2n_codebuild.sh @@ -88,7 +88,6 @@ run_integration_v2_tests() { "$CB_BIN_DIR/install_s2n_head.sh" "$(mktemp -d)" cmake . -Bbuild \ -DCMAKE_PREFIX_PATH=$LIBCRYPTO_ROOT \ - -DS2N_BLOCK_NONPORTABLE_OPTIMIZATIONS=True \ -DBUILD_SHARED_LIBS=on \ -DS2N_INTEG_TESTS=on \ -DPython3_EXECUTABLE=$(which python3) @@ -108,7 +107,6 @@ run_integration_v2_tests() { run_unit_tests() { cmake . -Bbuild \ -DCMAKE_PREFIX_PATH=$LIBCRYPTO_ROOT \ - -DS2N_BLOCK_NONPORTABLE_OPTIMIZATIONS=True \ -DBUILD_SHARED_LIBS=on cmake --build ./build -- -j $(nproc) test_linked_libcrypto ./build/bin/s2nc diff --git a/codebuild/bin/s2n_codebuild_al.sh b/codebuild/bin/s2n_codebuild_al.sh index c80b6901e0d..0a7cd2d9b63 100755 --- a/codebuild/bin/s2n_codebuild_al.sh +++ b/codebuild/bin/s2n_codebuild_al.sh @@ -28,7 +28,7 @@ else # AL2 case; Linker flags are a workaround for system openssl if [[ ${VERSION_ID} == '2' ]]; then BUILD_FLAGS=$(echo -e '-DCMAKE_EXE_LINKER_FLAGS="-lcrypto -lz" \ - -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DS2N_BLOCK_NONPORTABLE_OPTIMIZATIONS=True') + -DCMAKE_EXPORT_COMPILE_COMMANDS=ON') fi fi