From e0f124e74140cd9142fe3186ba3217fca8af0863 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 18 Dec 2021 01:32:45 +0800 Subject: [PATCH] chapter 6 ncurses: disable stripping (invoking host strip) --- chapter06/ncurses.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 79b38e2b4..e9316ef98 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -68,6 +68,7 @@ popd --without-debug \ --without-ada \ --without-normal \ + --disable-stripping \ --enable-widec @@ -91,6 +92,15 @@ popd + + --disable-stripping + + This switch prevents the building system from stripping + the programs using strip program from the host. + Using host tools on cross-compiled program can cause failure. + + + --enable-widec