Skip to content

Commit feb3c0c

Browse files
Weiran Lininikep
authored andcommitted
make rocksdb build compatible with make 4.3 in centos 9
Upstream commit ID: facebook/mysql-5.6@c3f1703 PS-8951: Merge percona-202305 (https://jira.percona.com/browse/PS-8951) Summary: Same as D46001904, 8.0 branch also needs to be compatible with make 4.3. Differential Revision: D46003596 fbshipit-source-id: 0e4c40db437fda1928729ead1d4313d0fe2bd61c
1 parent 6248f1e commit feb3c0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/rocksdb/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ ELSE()
105105
# get a list of rocksdb library source files
106106
# run with env -i to avoid passing variables
107107
EXECUTE_PROCESS(
108-
COMMAND env -i CXX=${CMAKE_CXX_COMPILER} ${CMAKE_CURRENT_SOURCE_DIR}/get_rocksdb_files.sh ${ROCKSDB_FOLLY}
108+
COMMAND env -i CXX=${CMAKE_CXX_COMPILER} PATH="/sbin:/usr/sbin:/bin:/usr/bin" ${CMAKE_CURRENT_SOURCE_DIR}/get_rocksdb_files.sh ${ROCKSDB_FOLLY}
109109
OUTPUT_VARIABLE SCRIPT_OUTPUT
110110
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
111111
)

0 commit comments

Comments
 (0)