Skip to content

Commit 75867fc

Browse files
committed
[bazel]Move HAVE_GETAUXVAL from config.h to config.bzl
1 parent 7e2707a commit 75867fc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

utils/bazel/llvm-project-overlay/llvm/config.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ posix_defines = [
4747

4848
linux_defines = posix_defines + [
4949
"_GNU_SOURCE",
50+
"HAVE_GETAUXVAL=1",
5051
"HAVE_MALLINFO=1",
5152
"HAVE_SBRK=1",
5253
"HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC=1",

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

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

297297
/* HAVE_PROC_PID_RUSAGE defined in Bazel */
298298

299-
#define HAVE_GETAUXVAL 1
300-
301299
/* Directly provide definitions here behind platform preprocessor definitions.
302300
* The preprocessor conditions are sufficient to handle all of the configuration
303301
* on platforms targeted by Bazel, and defining these here more faithfully

0 commit comments

Comments
 (0)