summaryrefslogtreecommitdiffstats
path: root/external/glibc
diff options
context:
space:
mode:
authorRene Engelhard <rene@openoffice.org>2010-05-18 14:05:20 +0200
committerRene Engelhard <rene@openoffice.org>2010-05-18 14:05:20 +0200
commit36ff8423c3656890b4a7a5b187b566403376e2dd (patch)
tree2bd3d02807db9e82668d2b5752ea554426f4e300 /external/glibc
parentDEV300 masterfix: #i10000#: add EXTRA_CFLAGS to CONFIGURE_ACTION for building... (diff)
downloadcore-36ff8423c3656890b4a7a5b187b566403376e2dd.tar.gz
core-36ff8423c3656890b4a7a5b187b566403376e2dd.zip
systemlibc: migrate systemlibc to hg; try again from scratch
Diffstat (limited to 'external/glibc')
-rw-r--r--external/glibc/makefile.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/external/glibc/makefile.mk b/external/glibc/makefile.mk
index cf4516515a67..ecd064e44ebd 100644
--- a/external/glibc/makefile.mk
+++ b/external/glibc/makefile.mk
@@ -36,10 +36,14 @@ TARGET=getopt
# --- Files --------------------------------------------------------
+.IF "$(SYSTEM_GETOPT)" != "YES" || "$(SYSTEM_READDIR_R)" != "YES"
TARFILE_NAME=glibc-2.1.3-stub
TARFILE_MD5=4a660ce8466c9df01f19036435425c3a
TARFILE_ROOTDIR=glibc-2.1.3
-ADDITIONAL_FILES=posix$/makefile.mk posix$/config.h posix$/readdir_r.c
+ADDITIONAL_FILES=posix$/makefile.mk posix$/config.h
+.IF "$(SYSTEM_READDIR_R)" != "YES"
+ADDITIONAL_FILES += posix$/readdir_r.c
+.ENDIF
PATCH_FILES=$(PRJ)$/glibc-2.1.3.patch
@@ -48,6 +52,10 @@ CONFIGURE_ACTION=
BUILD_DIR=posix
BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS)
+.ELSE
+@all:
+ @echo "Nothing to do here."
+.ENDIF
# --- Targets ------------------------------------------------------