diff options
author | tv <tv> | 1999-01-04 22:51:53 +0000 |
---|---|---|
committer | tv <tv> | 1999-01-04 22:51:53 +0000 |
commit | 6e30180ad82a1317e7934fb6c360e9d5c97d3f29 (patch) | |
tree | 3d6d3c5c2f677906b23e6d28078399b81def752e /cross/COMMON/buwrapper.c | |
parent | 3df491122c0537433782d0a3e7722069d6fd0510 (diff) | |
download | pkgsrc-6e30180ad82a1317e7934fb6c360e9d5c97d3f29.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/buwrapper.c')
-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); |