opnsense-ports/databases/clickhouse/files/patch-contrib_rocksdb_CMakeLists.txt
Franco Fichtner a8c75c3f8a */*: sync with upstream
Taken from: FreeBSD
2021-11-10 12:44:46 +01:00

13 lines
571 B
Text

--- contrib/rocksdb/CMakeLists.txt.orig 2021-09-13 16:40:55.686967000 +0200
+++ contrib/rocksdb/CMakeLists.txt 2021-09-13 16:44:42.046383000 +0200
@@ -553,6 +553,10 @@ check_cxx_symbol_exists(getauxval auvx.h HAVE_AUXV_GET
if(HAVE_AUXV_GETAUXVAL)
add_definitions(-DROCKSDB_AUXV_GETAUXVAL_PRESENT)
endif()
+check_cxx_symbol_exists(elf_aux_info sys/auxv.h HAVE_AUXV_ELF_AUX_INFO)
+if(HAVE_AUXV_ELF_AUX_INFO)
+ add_definitions(-DROCKSDB_AUXV_GETAUXVAL_PRESENT)
+endif()
include_directories(${PROJECT_SOURCE_DIR})
include_directories(${PROJECT_SOURCE_DIR}/include)