Make logging fall back to /dev/stderr if we're on the host.

Otherwise you get no logging, which sucks.

Change-Id: Iea1e8f996461afbb217a55711b7967005c39cfcb
This commit is contained in:
Elliott Hughes
2013-10-08 13:19:00 -07:00
parent 9c710927ab
commit 0f395b7ba0
2 changed files with 25 additions and 5 deletions

View File

@@ -29,8 +29,6 @@
#ifndef _LINKER_DEBUG_H_
#define _LINKER_DEBUG_H_
#include <stdio.h>
// You can increase the verbosity of debug traces by defining the LD_DEBUG
// environment variable to a numeric value from 0 to 2 (corresponding to
// INFO, TRACE, and DEBUG calls in the source). This will only
@@ -55,9 +53,6 @@
* To enable/disable specific debug options, change the defines above
*********************************************************************/
/*********************************************************************/
#include "private/libc_logging.h"
__LIBC_HIDDEN__ extern int gLdDebugVerbosity;