summaryrefslogtreecommitdiff
path: root/external/glibc-2.1.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/glibc-2.1.3.patch')
-rw-r--r--external/glibc-2.1.3.patch11
1 files changed, 9 insertions, 2 deletions
diff --git a/external/glibc-2.1.3.patch b/external/glibc-2.1.3.patch
index 57aae6a9c0fd..dddc22a3e009 100644
--- a/external/glibc-2.1.3.patch
+++ b/external/glibc-2.1.3.patch
@@ -76,7 +76,7 @@
extern int getopt ();
--- misc/glibc-2.1.3/posix/makefile.mk Mon Mar 31 09:43:50 2008
+++ misc/build/glibc-2.1.3/posix/makefile.mk Mon Mar 31 09:43:38 2008
-@@ -1 +1,63 @@
+@@ -1 +1,70 @@
-dummy
+#*************************************************************************
+#
@@ -123,14 +123,16 @@
+
+# --- Files --------------------------------------------------------
+
++.IF "$(HAVE_GETOPT)" != "YES"
+OBJFILES= $(OBJ)$/getopt.obj \
+ $(OBJ)$/getopt1.obj
+
+LIB1TARGET=$(SLB)$/$(TARGET).lib
+LIB1ARCHIV=$(LB)$/lib$(TARGET).a
+LIB1OBJFILES=$(OBJFILES)
++.ENDIF
+
-+.IF "$(OS)"=="NETBSD"
++.IF "$(HAVE_READDIR_R)" != "YES" && "$(OS)" != "WNT"
+TARGET2=gnu_readdir_r
+OBJFILES+= $(OBJ)$/readdir_r.obj
+LIB2TARGET=$(SLB)$/$(TARGET2).lib
@@ -138,6 +140,11 @@
+LIB2OBJFILES= $(OBJ)$/readdir_r.obj
+.ENDIF
+
++.IF "$(HAVE_READDIR_R)" == "YES" && "$(HAVE_GETOPT)" == "YES"
++@all:
++ @echo "Nothing to do here.
++.ENDIF
++
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk