summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-08-14 23:13:33 +0000
committerEric Andersen <andersen@codepoet.org>2001-08-14 23:13:33 +0000
commit0870301b935fe013955c4194db18b474b4a85723 (patch)
treed782347b8778dc133d9519362a738e1fab9803ea
parentbc525beda7a3fb2fea777688c262e4f3695ab7f1 (diff)
Don't use --uclibc-use-build-dir for the tests unless BUILD_UCLIBC_LDSO=true
-rw-r--r--test/Rules.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index aba4f38c0..33a0e6f5f 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -47,6 +47,7 @@ endif
ifneq ($(DODYNAMIC),true)
LDFLAGS +=--static
endif
+ifeq ($(strip $(BUILD_UCLIBC_LDSO)),true)
CFLAGS+=--uclibc-use-build-dir
LDFLAGS+=--uclibc-use-build-dir
-
+endif