$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2005-02-12 15:38:26
DJB <usrlocalinfo_at_[hidden]> writes:
> I'd like to specify /GS (or /RTCs, /RTCu, /RTCc) as cflag values from
> the command-line.
>
> Unfortunately, doing so causes an error in boost-build.
>
> Is there a workaround for this
> or am I doing something wrong?
Well, IMO it's a terrible limitation of the build system, that we
ought to fix.
That said, you can pass any /xxx option to vc7.1 as -xxx:
bjam --v2 -d4 threading=multi \
link-runtime=static \
msvc-7.1 release \
cxxflags=-GS \
someProject
HTH,
-- Dave Abrahams Boost Consulting www.boost-consulting.com