summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authortv <tv>1999-01-04 22:51:53 +0000
committertv <tv>1999-01-04 22:51:53 +0000
commit3fe13480f0e7083a36b76e5ed598844536502c84 (patch)
tree3d6d3c5c2f677906b23e6d28078399b81def752e /cross
parent1ac8c0ae893cce269b1164bb0d5d075a4e36279b (diff)
downloadpkgsrc-3fe13480f0e7083a36b76e5ed598844536502c84.tar.gz
Actually, don't overwrite GNUTARGET and LDEMULATION in the environment, so
that a user may override them conditionally.
Diffstat (limited to 'cross')
-rw-r--r--cross/COMMON/buwrapper.c6
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);