| Index: ports/gdb/build.sh
|
| diff --git a/ports/gdb/build.sh b/ports/gdb/build.sh
|
| index 193e1eef704bf4f433cc94b26abe8f538a17d071..4adbade15d6612fc82e1dae77e87408eaf6183e6 100644
|
| --- a/ports/gdb/build.sh
|
| +++ b/ports/gdb/build.sh
|
| @@ -2,11 +2,11 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -NACLPORTS_LIBS+=" -lncurses ${NACL_CLI_MAIN_LIB} -lm"
|
| -NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
|
| -
|
| +EnableCliMain
|
| EnableGlibcCompat
|
|
|
| +NACLPORTS_LIBS+=" -lncurses -lm"
|
| +
|
| if [ "${NACL_LIBC}" = "newlib" ]; then
|
| # Since the final link is done with -lnacl_io and not -lglibc-compat
|
| # we disable getrlimit and setrlimit. TODO(sbc): add these back if/when
|
|
|