Be not able to build on Mac (MacOSX10.14)

I can’t build FoundationDB from the source.
OS: Mac (MacOSX10.14)

Reproduce

git clone git@github.com:apple/foundationdb.git
cd foundationdb
mkdir dev
cd dev
cmake -G Ninja -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ -DUSE_WERROR=ON ../
ninja -j2
[182/705] Building CXX object flow/CMakeFiles/flow.dir/ActorCollection.actor.g.cpp.o
FAILED: flow/CMakeFiles/flow.dir/ActorCollection.actor.g.cpp.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++  -DBOOST_ALL_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_ALIGNED_ALLOC -DNO_INTELLISENSE -DUSE_UCONTEXT -DWITH_LIBCXX -I../ -I. -isystem /usr/local/opt/openssl/include -isystem /usr/local/include -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.14   -DCMAKE_BUILD -ggdb -fno-omit-frame-pointer -stdlib=libc++ -Wno-unknown-warning-option -Wno-dangling-else -Wno-sign-compare -Wno-comment -Wno-unknown-pragmas -Wno-delete-non-virtual-dtor -Wno-undefined-var-template -Wno-tautological-pointer-compare -Wno-format -Werror -Wno-error=format -Wunused-variable -Wno-deprecated -fvisibility=hidden -Wreturn-type -fPIC -DHAVE_OPENSSL -std=gnu++17 -MD -MT flow/CMakeFiles/flow.dir/ActorCollection.actor.g.cpp.o -MF flow/CMakeFiles/flow.dir/ActorCollection.actor.g.cpp.o.d -o flow/CMakeFiles/flow.dir/ActorCollection.actor.g.cpp.o -c flow/ActorCollection.actor.g.cpp
In file included from /Users/e175774/oss/foundationdb/flow/ActorCollection.actor.cpp:21:
In file included from ../flow/ActorCollection.h:25:
In file included from ../flow/flow.h:44:
../flow/Deque.h:170:19: error: 'aligned_alloc' is only available on macOS 10.15 or newer [-Werror,-Wunguarded-availability-new]
                T* newArr = (T*)aligned_alloc(std::max(__alignof(T), sizeof(void*)),
                                ^~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/malloc/_malloc.h:50:10: note: 'aligned_alloc' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.14.0
void    *aligned_alloc(size_t __alignment, size_t __size) __result_use_check __alloc_size(2) __OSX_AVAILABLE(10.15) __IOS_AVAILABLE(13.0) __TVOS_AVAILABLE(13.0) __WATCHOS_AVAILABLE(6.0);
         ^
../flow/Deque.h:170:19: note: enclose 'aligned_alloc' in a __builtin_available check to silence this warning
                T* newArr = (T*)aligned_alloc(std::max(__alignof(T), sizeof(void*)),
                                ^~~~~~~~~~~~~
1 error generated.
[183/705] Building CXX object fdbmonitor/CMakeFiles/fdbmonitor.dir/fdbmonitor.cpp.o
ninja: build stopped: subcommand failed.

Can I build on MacOSX10.14 ?

The fdb source code is built for x86 architecture. If that isnt present mostly you wont be able to build.