From 39ec01cf043b3a4b0aa10bc9aab35d8eb11e1def Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 28 Mar 2012 21:16:16 +0000 Subject: Move a python module for gdb generated by gcc out of /usr/lib git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9795 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gcc.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'chapter06') diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index dd88522bd..de0520a8c 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -289,6 +289,17 @@ SEARCH_DIR("/usr/lib"); href="readjusting.xml" xpointer="xpointer(//*[@os='v'])"/> + Finally, move a misplced file: + +case `uname -m` in + i?86) GDBDIR=/usr/share/gdb/auto-load/usr/lib/gcc/i686-pc-linux-gnu/&gcc-version;/ ;; + *) GDBDIR=/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/&gcc-version;/ ;; +esac + +mkdir -pv $GDBDIR +mv -v /usr/lib/*gdb.py $GDBDIR +unset GDBDIR + -- cgit v1.2.3-54-g00ecf