Skip to content

Commit 9bd836a

Browse files
committed
[bazel] Introduce HAVE_SYS_AUXV_H for llvm#126863
1 parent cdf4544 commit 9bd836a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@
296296

297297
/* HAVE_PROC_PID_RUSAGE defined in Bazel */
298298

299+
#define HAVE_SYS_AUXV_H 1
300+
299301
/* Directly provide definitions here behind platform preprocessor definitions.
300302
* The preprocessor conditions are sufficient to handle all of the configuration
301303
* on platforms targeted by Bazel, and defining these here more faithfully

utils/bazel/llvm_configs/config.h.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,4 +295,6 @@
295295

296296
#cmakedefine HAVE_BUILTIN_THREAD_POINTER ${HAVE_BUILTIN_THREAD_POINTER}
297297

298+
#cmakedefine HAVE_SYS_AUXV_H ${HAVE_SYS_AUXV_H}
299+
298300
#endif

0 commit comments

Comments
 (0)