CFLAGS="-I/mnt/exports/termcap/include" LDFLAGS="-L/mnt/exports/termcap/lib" ./configure --prefix=/opt/gdb --host=arm-linux-gnueabihf
configure: loading cache ./config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure: former value: `-g -O2'
configure: current value: `-I/mnt/exports/termcap/include'
configure: error: `LDFLAGS' has changed since the previous run:
configure: former value: `-static-libstdc++ -static-libgcc '
configure: current value: `-static-libstdc++ -static-libgcc -L/mnt/exports/termcap/lib'
configure: error: in `/home/splinter/Downloads/gdb-7.6.2/gdb/build-gnulib':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over
configure: error: .././gnulib/configure failed for build-gnulib
make[1]: *** [configure-gdb] Ошибка 1
make[1]: Leaving directory `/home/splinter/Downloads/gdb-7.6.2'
make: *** [all] Ошибка 2
make distclean не помогает.