platform010 gcc (#9946)
Summary: Make platform010 gcc build work. Pull Request resolved: https://github.com/facebook/rocksdb/pull/9946 Test Plan: ROCKSDB_FBCODE_BUILD_WITH_PLATFORM010=1 make release -j ROCKSDB_FBCODE_BUILD_WITH_PLATFORM010=1 make all check -j Reviewed By: pdillinger, mdcallag Differential Revision: D36152684 fbshipit-source-id: ca7b0916c51501a72bb15ad33a85e8c5cac5b505
This commit is contained in:
parent
e62c23cce4
commit
46f8889b6a
@ -118,10 +118,19 @@ if [ -z "$USE_CLANG" ]; then
|
|||||||
CXX="$GCC_BASE/bin/g++"
|
CXX="$GCC_BASE/bin/g++"
|
||||||
AR="$GCC_BASE/bin/gcc-ar"
|
AR="$GCC_BASE/bin/gcc-ar"
|
||||||
|
|
||||||
|
CFLAGS+=" -B$BINUTILS -nostdinc -nostdlib"
|
||||||
CFLAGS+=" -B$BINUTILS"
|
CFLAGS+=" -I$GCC_BASE/include"
|
||||||
|
CFLAGS+=" -isystem $GCC_BASE/lib/gcc/x86_64-redhat-linux-gnu/11.2.1/include"
|
||||||
|
CFLAGS+=" -isystem $GCC_BASE/lib/gcc/x86_64-redhat-linux-gnu/11.2.1/install-tools/include"
|
||||||
|
CFLAGS+=" -isystem $GCC_BASE/lib/gcc/x86_64-redhat-linux-gnu/11.2.1/include-fixed/"
|
||||||
CFLAGS+=" -isystem $LIBGCC_INCLUDE"
|
CFLAGS+=" -isystem $LIBGCC_INCLUDE"
|
||||||
CFLAGS+=" -isystem $GLIBC_INCLUDE"
|
CFLAGS+=" -isystem $GLIBC_INCLUDE"
|
||||||
|
CFLAGS+=" -I$GLIBC_INCLUDE"
|
||||||
|
CFLAGS+=" -I$LIBGCC_BASE/include"
|
||||||
|
CFLAGS+=" -I$LIBGCC_BASE/include/c++/11.x/"
|
||||||
|
CFLAGS+=" -I$LIBGCC_BASE/include/c++/11.x/x86_64-facebook-linux/"
|
||||||
|
CFLAGS+=" -I$LIBGCC_BASE/include/c++/11.x/backward"
|
||||||
|
CFLAGS+=" -isystem $GLIBC_INCLUDE -I$GLIBC_INCLUDE"
|
||||||
JEMALLOC=1
|
JEMALLOC=1
|
||||||
else
|
else
|
||||||
# clang
|
# clang
|
||||||
|
Loading…
Reference in New Issue
Block a user