aboutsummaryrefslogtreecommitdiff
path: root/newlib/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/configure.in')
-rw-r--r--newlib/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/configure.in b/newlib/configure.in
index 84e1f74..5374d67 100644
--- a/newlib/configure.in
+++ b/newlib/configure.in
@@ -139,7 +139,7 @@ AC_CONFIG_SUBDIRS(${configdirs})
CRT0=
CRT0_DIR=
-if test -n "${sys_dir}"; then
+if test "x${have_crt0}" = "xyes"; then
CRT0=crt0.o
CRT0_DIR=libc/
fi