]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rocksdb/build_tools/fbcode_config4.8.1.sh
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / rocksdb / build_tools / fbcode_config4.8.1.sh
index c40c10131a134cb860ad113eb12b4da9760023bb..5f0813a041ecbe5f491429a4b09f53b42391282d 100644 (file)
@@ -1,4 +1,5 @@
 #!/bin/sh
+# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
 #
 # Set environment variables so that we can compile rocksdb using
 # fbcode settings.  It uses the latest g++ compiler and also
@@ -52,9 +53,10 @@ LIBUNWIND="$LIBUNWIND_BASE/lib/libunwind.a"
 TBB_INCLUDE=" -isystem $TBB_BASE/include/"
 TBB_LIBS="$TBB_BASE/lib/libtbb.a"
 
-# use Intel SSE support for checksum calculations
-export USE_SSE=1
-export PORTABLE=1
+test "$USE_SSE" || USE_SSE=1
+export USE_SSE
+test "$PORTABLE" || PORTABLE=1
+export PORTABLE
 
 BINUTILS="$BINUTILS_BASE/bin"
 AR="$BINUTILS/ar"