diff options
author | tv <tv> | 2004-10-09 03:49:13 +0000 |
---|---|---|
committer | tv <tv> | 2004-10-09 03:49:13 +0000 |
commit | 5933989fcab7462949e8f624e481158a72accf58 (patch) | |
tree | 86750a3c5447431078536f8e69bc31d9e84ace82 /mk/wrapper | |
parent | 70cef39629eef8562d792be8e8302d3803108d47 (diff) | |
download | pkgsrc-5933989fcab7462949e8f624e481158a72accf58.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 |