TAROUTOPTS

Jeffrey A Law law@cygnus.com
Sat Aug 7 00:39:00 GMT 1999


Another long pending Makefile cleanup.  'B' is not a standard tar option and
we should not use it.  Every system that was overriding TAROUTOPTS was merely
removing 'B' anyway.

This patch simply kills the 'B' and removes the indirection through
TAROUTOPTS in the Makefile (ie you can't override the options anymore).

	* Makefile.in (TAROUTOPTS): Kill.
	(install-headers-tar): Use "xpf" for tar headerfile extraction
	* i370/x-oe (TAROUTOPTS): Delete.
	* m68k/x-apollo68 (TAROUTOPTS): Delete.
	* m68k/x-hp320 (TAROUTOPTS): Delete.
	* m68k/x-hp320g (TAROUTOPTS): Delete.

Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/Makefile.in,v
retrieving revision 1.273
diff -c -3 -p -r1.273 Makefile.in
*** Makefile.in	1999/08/07 05:19:55	1.273
--- Makefile.in	1999/08/07 07:33:17
*************** LIBCONVERT = 
*** 416,424 ****
  # Control whether header files are installed.
  INSTALL_HEADERS=install-headers
  
- # Options for tar when copying trees.  So HPUX can override it.
- TAROUTOPTS = xpBf
- 
  # Additional directories of header files to run fixincludes on.
  # These should be directories searched automatically by default
  # just as /usr/include is.
--- 416,421 ----
*************** install-headers-tar: stmp-headers $(STMP
*** 2648,2654 ****
  # found in CDPATH, corrupting the output.  We could just redirect the
  # output of `cd', but some shells lose on redirection within `()'s
  	(cd `pwd`/include ; \
! 	 tar -cf - .; exit 0) | (cd $(libsubdir)/include; tar $(TAROUTOPTS) - )
  # /bin/sh on some systems returns the status of the first tar,
  # and that can lose with GNU tar which always writes a full block.
  # So use `exit 0' to ignore its exit status.
--- 2645,2651 ----
  # found in CDPATH, corrupting the output.  We could just redirect the
  # output of `cd', but some shells lose on redirection within `()'s
  	(cd `pwd`/include ; \
! 	 tar -cf - .; exit 0) | (cd $(libsubdir)/include; tar xpf - )
  # /bin/sh on some systems returns the status of the first tar,
  # and that can lose with GNU tar which always writes a full block.
  # So use `exit 0' to ignore its exit status.
Index: config/i370/x-oe
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/i370/x-oe,v
retrieving revision 1.1
diff -c -3 -p -r1.1 x-oe
*** x-oe	1999/07/19 19:26:30	1.1
--- x-oe	1999/08/07 07:33:17
*************** CC=c89
*** 19,26 ****
  
  CLIB=-liberty
  LDFLAGS=-L../libiberty
- 
- # TAR Options
- 
- TAROUTOPTS=xpf
- 
--- 19,21 ----
Index: config/m68k/x-apollo68
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/m68k/x-apollo68,v
retrieving revision 1.2
diff -c -3 -p -r1.2 x-apollo68
*** x-apollo68	1998/12/16 21:07:43	1.2
--- x-apollo68	1999/08/07 07:33:17
*************** OLDCC=cc -g -A nansi -A cpu,3000 -A runt
*** 10,15 ****
  # is bad, and it also does the wrong thing if we are cross compiling to a
  # target which does support debugging.  There is currently no way to avoid
  # the -g option that doesn't break something else.
- 
- # Apollo does not have B option.
- TAROUTOPTS=xpf
--- 10,12 ----
Index: config/m68k/x-hp320
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/m68k/x-hp320,v
retrieving revision 1.2
diff -c -3 -p -r1.2 x-hp320
*** x-hp320	1998/12/16 21:07:48	1.2
--- x-hp320	1999/08/07 07:33:17
***************
*** 2,9 ****
  CC=cc -Wc,-Nw2000 -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300
  OLDCC=cc -Wc,-Nw2000 -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300
  ALLOCA=alloca.o
- # B option not supported on hpux.
- TAROUTOPTS = xpf
  
  # For CCLIBFLAGS you might want to specify the switch that
  # forces only 68000 instructions to be used.
--- 2,7 ----
Index: config/m68k/x-hp320g
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/m68k/x-hp320g,v
retrieving revision 1.2
diff -c -3 -p -r1.2 x-hp320g
*** x-hp320g	1998/12/16 21:07:49	1.2
--- x-hp320g	1999/08/07 07:33:17
***************
*** 2,9 ****
  CC=cc -Wc,-Nw2000 -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300
  OLDCC=cc -Wc,-Nw2000 -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300
  ALLOCA=alloca.o
- # B option not supported on hpux.
- TAROUTOPTS = xpf
  
  # For CCLIBFLAGS you might want to specify the switch that
  # forces only 68000 instructions to be used.
--- 2,7 ----









More information about the Gcc-patches mailing list