build: Allow export of environ symbols

This export was introduced in #17270 which added
```
//! Necessary on some platforms
extern char** environ;
```
This commit is contained in:
Wladimir J. van der Laan committed 2019-11-23 10:30:41 +01:00
1 parent 8f15a31760
commit f6e42256fe
1 file changed
+2 -1
+2 -1
View File
@@ -47,7 +47,8 @@ MAX_VERSIONS = {
# Ignore symbols that are exported as part of every executable
IGNORE_EXPORTS = {
'_edata', '_end', '__end__', '_init', '__bss_start', '__bss_start__', '_bss_end__', '__bss_end__', '_fini', '_IO_stdin_used', 'stdin', 'stdout', 'stderr'
'_edata', '_end', '__end__', '_init', '__bss_start', '__bss_start__', '_bss_end__', '__bss_end__', '_fini', '_IO_stdin_used', 'stdin', 'stdout', 'stderr',
'environ', '_environ', '__environ',
}
READELF_CMD = os.getenv('READELF', '/usr/bin/readelf')
CPPFILT_CMD = os.getenv('CPPFILT', '/usr/bin/c++filt')