about summary refs log tree commit diff
path: root/sysdeps/posix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/Makefile')
-rw-r--r--sysdeps/posix/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/posix/Makefile b/sysdeps/posix/Makefile
index c925b72697..3dd0f3e40e 100644
--- a/sysdeps/posix/Makefile
+++ b/sysdeps/posix/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+# Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -26,9 +26,9 @@ cded-objdir-includes = $(patsubst -I$$cwd//%,-I/%,\
 # $(BUILD_CFLAGS) needs to come last because it contains unwanted -Is.
 $(common-objpfx)mk-stdiolim: $(sysdep_dir)/posix/mk-stdiolim.c \
 			     posix1_lim.h local_lim.h
-	cwd=`pwd`; cd $(common-objdir); \
+	cwd=`pwd`; cd $(objpfx).; \
 	$(BUILD_CC) $(cded-objdir-includes) $(BUILD_CFLAGS) \
-	  $$cwd/$< -o $(patsubst $(common-objpfx)%,%,$@)
+	  $$cwd/$< -o $(patsubst $(common-objpfx)%,$(..)%,$@)
 
 
 common-generated := $(common-generated) stdio_lim.h mk-stdiolim