Skip to content

Commit

Permalink
[compile] fix compile error in aarch64 (#9436)
Browse files Browse the repository at this point in the history
  • Loading branch information
stdpain authored Aug 1, 2022
1 parent 705d7e9 commit 061cd81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions thirdparty/build-thirdparty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,9 @@ build_aliyun_oss_jars() {
}

build_aws_cpp_sdk() {
OLD_CFLAGS=$CFLAGS
export CFLAGS="-O3 -fno-omit-frame-pointer -std=c99 -fPIC -D_POSIX_C_SOURCE=200112L"

check_if_source_exist $AWS_SDK_CPP_SOURCE
cd $TP_SOURCE_DIR/$AWS_SDK_CPP_SOURCE
# only build s3, s3-crt and transfer manager, you can add more components if you want.
Expand All @@ -847,6 +850,8 @@ build_aws_cpp_sdk() {
cd build
${BUILD_SYSTEM} -j$PARALLEL
${BUILD_SYSTEM} install

export CFLAGS=$OLD_CFLAGS
}

# velocypack
Expand Down

0 comments on commit 061cd81

Please sign in to comment.