diff options
author | tv <tv@pkgsrc.org> | 1999-01-04 22:51:53 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1999-01-04 22:51:53 +0000 |
commit | 1b84917306aa22fc666feaa3246933b6a1300525 (patch) | |
tree | 3d6d3c5c2f677906b23e6d28078399b81def752e /cross/COMMON | |
parent | ccc8b400719974af8670fac0704ae6587690ecd7 (diff) | |
download | pkgsrc-1b84917306aa22fc666feaa3246933b6a1300525.tar.gz |
Actually, don't overwrite GNUTARGET and LDEMULATION in the environment, so
that a user may override them conditionally.
Diffstat (limited to 'cross/COMMON')
-rw-r--r-- | cross/COMMON/buwrapper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cross/COMMON/buwrapper.c b/cross/COMMON/buwrapper.c index 0617513a720..a5e0a7e0ad7 100644 --- a/cross/COMMON/buwrapper.c +++ b/cross/COMMON/buwrapper.c @@ -1,4 +1,4 @@ -/* $NetBSD: buwrapper.c,v 1.1 1999/01/04 22:37:30 tv Exp $ */ +/* $NetBSD: buwrapper.c,v 1.2 1999/01/04 22:51:53 tv Exp $ */ #include <err.h> #include <stdlib.h> @@ -34,9 +34,9 @@ int main(int argc, char **argv) { snprintf(path, PATHLEN, "%s/%s/%s", PREFIX, binsubdir, prog); /* set up environment */ - setenv("GNUTARGET", GNUTARGET, 1); + setenv("GNUTARGET", GNUTARGET, 0); #ifdef LDEMULATION - setenv("LDEMULATION", LDEMULATION, 1); + setenv("LDEMULATION", LDEMULATION, 0); #endif #ifdef LD_RPATH_LINK setenv("LD_RPATH_LINK", LD_RPATH_LINK, 1); |