|
|
@ -8,6 +8,7 @@ |
|
|
|
# CXX C++ Compiler path |
|
|
|
# CXX C++ Compiler path |
|
|
|
# PLATFORM_LDFLAGS Linker flags |
|
|
|
# PLATFORM_LDFLAGS Linker flags |
|
|
|
# JAVA_LDFLAGS Linker flags for RocksDBJava |
|
|
|
# JAVA_LDFLAGS Linker flags for RocksDBJava |
|
|
|
|
|
|
|
# JAVA_STATIC_LDFLAGS Linker flags for RocksDBJava static build |
|
|
|
# PLATFORM_SHARED_EXT Extension for shared libraries |
|
|
|
# PLATFORM_SHARED_EXT Extension for shared libraries |
|
|
|
# PLATFORM_SHARED_LDFLAGS Flags for building shared library |
|
|
|
# PLATFORM_SHARED_LDFLAGS Flags for building shared library |
|
|
|
# PLATFORM_SHARED_CFLAGS Flags for compiling objects for shared library |
|
|
|
# PLATFORM_SHARED_CFLAGS Flags for compiling objects for shared library |
|
|
@ -181,6 +182,7 @@ esac |
|
|
|
|
|
|
|
|
|
|
|
PLATFORM_CXXFLAGS="$PLATFORM_CXXFLAGS ${CXXFLAGS}" |
|
|
|
PLATFORM_CXXFLAGS="$PLATFORM_CXXFLAGS ${CXXFLAGS}" |
|
|
|
JAVA_LDFLAGS="$PLATFORM_LDFLAGS" |
|
|
|
JAVA_LDFLAGS="$PLATFORM_LDFLAGS" |
|
|
|
|
|
|
|
JAVA_STATIC_LDFLAGS="$PLATFORM_LDFLAGS" |
|
|
|
|
|
|
|
|
|
|
|
if [ "$CROSS_COMPILE" = "true" -o "$FBCODE_BUILD" = "true" ]; then |
|
|
|
if [ "$CROSS_COMPILE" = "true" -o "$FBCODE_BUILD" = "true" ]; then |
|
|
|
# Cross-compiling; do not try any compilation tests. |
|
|
|
# Cross-compiling; do not try any compilation tests. |
|
|
@ -374,6 +376,7 @@ echo "CXX=$CXX" >> "$OUTPUT" |
|
|
|
echo "PLATFORM=$PLATFORM" >> "$OUTPUT" |
|
|
|
echo "PLATFORM=$PLATFORM" >> "$OUTPUT" |
|
|
|
echo "PLATFORM_LDFLAGS=$PLATFORM_LDFLAGS" >> "$OUTPUT" |
|
|
|
echo "PLATFORM_LDFLAGS=$PLATFORM_LDFLAGS" >> "$OUTPUT" |
|
|
|
echo "JAVA_LDFLAGS=$JAVA_LDFLAGS" >> "$OUTPUT" |
|
|
|
echo "JAVA_LDFLAGS=$JAVA_LDFLAGS" >> "$OUTPUT" |
|
|
|
|
|
|
|
echo "JAVA_STATIC_LDFLAGS=$JAVA_STATIC_LDFLAGS" >> "$OUTPUT" |
|
|
|
echo "VALGRIND_VER=$VALGRIND_VER" >> "$OUTPUT" |
|
|
|
echo "VALGRIND_VER=$VALGRIND_VER" >> "$OUTPUT" |
|
|
|
echo "PLATFORM_CCFLAGS=$PLATFORM_CCFLAGS" >> "$OUTPUT" |
|
|
|
echo "PLATFORM_CCFLAGS=$PLATFORM_CCFLAGS" >> "$OUTPUT" |
|
|
|
echo "PLATFORM_CXXFLAGS=$PLATFORM_CXXFLAGS" >> "$OUTPUT" |
|
|
|
echo "PLATFORM_CXXFLAGS=$PLATFORM_CXXFLAGS" >> "$OUTPUT" |
|
|
|