summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-02 17:12:37 +0000
committerChristopher Faylor <me@cgf.cx>2005-09-02 17:12:37 +0000
commit414808f9e01ce103d2bc67d4ddaa802125ce5512 (patch)
tree2fc20623e4d929db4b68506c21a5a74edfb41276 /winsup/cygwin/dcrt0.cc
parent8f36ef2f33ab096ea580dc4fdbaf6565b561e65f (diff)
downloadcygnal-414808f9e01ce103d2bc67d4ddaa802125ce5512.tar.gz
cygnal-414808f9e01ce103d2bc67d4ddaa802125ce5512.tar.bz2
cygnal-414808f9e01ce103d2bc67d4ddaa802125ce5512.zip
* Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to generate
dependencies when invoked from top-level make.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index e88f64a16..1783d5564 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -547,7 +547,7 @@ initial_env ()
len = GetModuleFileName (NULL, buf, CYG_MAX_PATH);
console_printf ("Sleeping %d, pid %u %s\n", ms, GetCurrentProcessId (), buf);
Sleep (ms);
- if (!strace.active)
+ if (!strace.active && !dynamically_loaded)
{
strace.inited = 0;
strace.hello ();
@@ -634,7 +634,6 @@ dll_crt0_0 ()
wincap.init ();
initial_env ();
- init_console_handler (TRUE);
init_global_security ();
if (!DuplicateHandle (GetCurrentProcess (), GetCurrentProcess (),
GetCurrentProcess (), &hMainProc, 0, FALSE,