diff options
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/linux/dump_syms/Makefile | 2 | ||||
-rw-r--r-- | src/tools/linux/dump_syms/dump_syms.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/linux/dump_syms/Makefile b/src/tools/linux/dump_syms/Makefile index 7d74abad..ce60a42b 100644 --- a/src/tools/linux/dump_syms/Makefile +++ b/src/tools/linux/dump_syms/Makefile @@ -1,7 +1,7 @@ CXX=g++ CC=gcc -CXXFLAGS=-gstabs -I../../.. -DNDEBUG -Wall -D_REENTRANT +CXXFLAGS=-gstabs -I../../.. -DNDEBUG -Wall -D_REENTRANT -m32 .PHONY:all clean diff --git a/src/tools/linux/dump_syms/dump_syms.cc b/src/tools/linux/dump_syms/dump_syms.cc index e7eb0a2d..f75abef8 100644 --- a/src/tools/linux/dump_syms/dump_syms.cc +++ b/src/tools/linux/dump_syms/dump_syms.cc @@ -43,7 +43,7 @@ int main(int argc, char **argv) { const char *binary = argv[1]; DumpSymbols dumper; - if (!dumper.WriteSymbolFile(binary, fileno(stdout))) { + if (!dumper.WriteSymbolFile(binary, stdout)) { fprintf(stderr, "Failed to write symbol file.\n"); return 1; } |