scripts/build/debug/gdbinit.in
author Michael Hope <michael.hope@linaro.org>
Wed Oct 05 14:19:51 2011 +1300 (2011-10-05)
changeset 2701 99de89e9acba
permissions -rw-r--r--
scripts: support extra host compiler flags

Allow the user to configure extra flags to pass to the host compiler
at build time. Applies to both C and C++.

Useful on Ubuntu to turn off the stack protector and fortify defaults
so the program stands a better chance of running on other distros.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
[yann.morin.1998@anciens.enib.fr: put the custom flags at the end]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@2570
     1
python
yann@2570
     2
import sys
yann@2570
     3
sys.path.insert(0, '@@PREFIX@@/share/gcc-@@VERSION@@/python')
yann@2570
     4
from libstdcxx.v6.printers import register_libstdcxx_printers
yann@2570
     5
register_libstdcxx_printers (None)
yann@2570
     6
end