diff options
author | tv <tv@pkgsrc.org> | 2004-10-09 03:49:13 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-10-09 03:49:13 +0000 |
commit | f20b90cf207908e9da7123b26e1bb17c162cd701 (patch) | |
tree | 86750a3c5447431078536f8e69bc31d9e84ace82 /mk/wrapper | |
parent | ec780e8ec3708827c68daac8e89022418bd64908 (diff) | |
download | pkgsrc-f20b90cf207908e9da7123b26e1bb17c162cd701.tar.gz |
Move -D_ALL_SOURCE for Interix, required for nearly every compilation, from
the funky CPPFLAGS assignment into the new wrapper framework.
Diffstat (limited to 'mk/wrapper')
-rw-r--r-- | mk/wrapper/bsd.wrapper.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/wrapper/bsd.wrapper.mk b/mk/wrapper/bsd.wrapper.mk index c2bb31e986e..88d70c2c4e8 100644 --- a/mk/wrapper/bsd.wrapper.mk +++ b/mk/wrapper/bsd.wrapper.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.wrapper.mk,v 1.7 2004/10/06 09:49:53 grant Exp $ +# $NetBSD: bsd.wrapper.mk,v 1.8 2004/10/09 03:49:13 tv Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -254,6 +254,9 @@ _WRAP_TRANSFORM_SED.IMAKE= # empty # XXX This section is ${OPSYS}-specific and shouldn't be here. # XXX .if ${OPSYS} == "Interix" +_WRAP_EXTRA_ARGS.CC+= -D_ALL_SOURCE +_WRAP_EXTRA_ARGS.CXX+= -D_ALL_SOURCE +_WRAP_EXTRA_ARGS.CPP+= -D_ALL_SOURCE _WRAP_CMD_SINK.CC= ${WRAPPER_TMPDIR}/cmd-sink-interix-gcc _WRAP_CMD_SINK.CXX= ${_WRAP_CMD_SINK.CC} _WRAP_CMD_SINK.LD= ${WRAPPER_TMPDIR}/cmd-sink-interix-ld |