summaryrefslogtreecommitdiff
path: root/libio/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-10-24 00:08:46 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-24 00:08:46 +0000
commit03ac099f6bc9157cdec50db10944e1d99ff07aa1 (patch)
tree9d818c011b71b40675d7de9779f1a4751fc5541c /libio/Makefile
parentebfd1bbd04fcc82c34d6f46d942ab763a60ede03 (diff)
downloadglibc-03ac099f6bc9157cdec50db10944e1d99ff07aa1.tar.gz
Define and use $(run-built-tests).
Diffstat (limited to 'libio/Makefile')
-rw-r--r--libio/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/Makefile b/libio/Makefile
index 0d28cea59c..9ccd6a0c38 100644
--- a/libio/Makefile
+++ b/libio/Makefile
@@ -175,7 +175,7 @@ shared-only-routines = oldiofopen oldiofdopen oldiofclose oldfileops \
include ../Rules
-ifeq (no,$(cross-compiling))
+ifeq ($(run-built-tests),yes)
tests: $(objpfx)test-freopen.out
ifeq (yes,$(build-shared))
# Run tst-fopenloc.check only if shared library is enabled since it