Skip to content

Commit

Permalink
chore: remove unused compile definition (aws#4815)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmayclin authored Oct 17, 2024
1 parent 645c374 commit 258439f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions codebuild/bin/s2n_codebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion codebuild/bin/s2n_codebuild_al.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 258439f

Please sign in to comment.