forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-20 5a4414d1fd83d52b073fc27f6e12dc9fe3b32766
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From bb39bd71609c8d2110a8fdfb876e2085579d47d9 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 13 Feb 2019 09:51:14 -0800
Subject: [PATCH] no __environ in musl
 
musl does not provide __environ therefore disable it
 
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 third_party/tcmalloc/chromium/src/config_linux.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 
diff --git a/third_party/tcmalloc/chromium/src/config_linux.h b/third_party/tcmalloc/chromium/src/config_linux.h
index 93a62a2d82..107e91f5c0 100644
--- a/third_party/tcmalloc/chromium/src/config_linux.h
+++ b/third_party/tcmalloc/chromium/src/config_linux.h
@@ -209,7 +209,7 @@
 #define HAVE___ATTRIBUTE__ALIGNED_FN 1
 
 /* Define to 1 if compiler supports __environ */
-#define HAVE___ENVIRON 1
+/* #undef HAVE___ENVIRON */
 
 /* Define to 1 if the system has the type `__int64'. */
 /* #undef HAVE___INT64 */