aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.cc
diff options
context:
space:
mode:
authorp01arst0rm <polar@ever3st.com>2020-06-17 03:19:15 +0100
committerp01arst0rm <polar@ever3st.com>2020-06-17 03:25:34 +0100
commite9970a34e8841faaecd39ba18e0913101beca592 (patch)
treeba86623322948a9739cf07b2fd185ebc6a0c1a4e /src/libutil/util.cc
parent29542865cee37ab22efe1bd142900b69f6c59f0d (diff)
appended ' __attribute__((weak)); ' to 'extern char * * environ '
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r--src/libutil/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 667dd2edb..85246ced6 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -35,7 +35,7 @@
#endif
-extern char * * environ;
+extern char * * environ __attribute__((weak));
namespace nix {