diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-10-24 00:08:46 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-10-24 00:08:46 +0000 |
commit | 03ac099f6bc9157cdec50db10944e1d99ff07aa1 (patch) | |
tree | 9d818c011b71b40675d7de9779f1a4751fc5541c /Makeconfig | |
parent | ebfd1bbd04fcc82c34d6f46d942ab763a60ede03 (diff) | |
download | glibc-03ac099f6bc9157cdec50db10944e1d99ff07aa1.tar.gz glibc-03ac099f6bc9157cdec50db10944e1d99ff07aa1.tar.xz glibc-03ac099f6bc9157cdec50db10944e1d99ff07aa1.zip |
Define and use $(run-built-tests).
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig index 4481cb38c5..1b1604af56 100644 --- a/Makeconfig +++ b/Makeconfig @@ -564,6 +564,15 @@ endif csu-objpfx = $(common-objpfx)csu/ elf-objpfx = $(common-objpfx)elf/ +# Whether to run test programs built for the library's host system. +ifndef run-built-tests +ifeq (yes,$(cross-compiling)) +run-built-tests = no +else +run-built-tests = yes +endif +endif + # How to run a program we just linked with our library. # The program binary is assumed to be $(word 2,$^). built-program-file = $(dir $(word 2,$^))$(notdir $(word 2,$^)) |