Remove $(objpfx) from tls.make

Andreas Schwab schwab@suse.de
Thu Dec 26 15:56:00 GMT 2002


Just to avoid dependency on build directory.

Andreas.

2002-12-27  Andreas Schwab  <schwab@suse.de>

	* Makerules ($(common-objpfx)%.make): Filter through
	$(sed-remove-objpfx).

--- Makerules.~1.380.~	2002-12-23 18:27:01.000000000 +0100
+++ Makerules	2002-12-27 00:31:35.000000000 +0100
@@ -158,7 +158,7 @@ $(common-objpfx)%.make: $(..)%.make.c $(
 	 $(CC) $(CFLAGS) $(CPPFLAGS) -E $< \
 	 | sed -n '/@@@/{s/@@@[	 ]*\(.*\)@@@/\1/;s/[	 ]*$$//p;}'; \
 	 echo 'common-generated += $(@F)'; \
-	 cat $@.dT; rm -f $@.dT) > $@T
+	 sed $(sed-remove-objpfx) $@.dT; rm -f $@.dT) > $@T
 	mv -f $@T $@
 
 # Generate an ordered list of implicit rules which find the source files in



More information about the Libc-hacker mailing list