This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] fix building of powerpc/linuxthreads with gcc-4.1.0


nptl and trunk saw this fix last year, but linuxthreads was neglected
http://sourceware.org/ml/libc-alpha/2005-08/msg00002.html

ive quoted Dwayne as the author in the ChangeLog seeing as how he diagnosed 
and fixed the real issue
-mike
2005-08-03  Dwayne Grant McConnell  <dgm69@us.ibm.com>

	* sysdeps/powerpc/Makefile (CFLAGS-initfini.s):
	Use +=, not =, to append.  Remove duplicate flags.

--- linuxthreads/sysdeps/powerpc/Makefile
+++ linuxthreads/sysdeps/powerpc/Makefile
@@ -1,6 +1,6 @@
 ifeq ($(subdir):$(elf),linuxthreads:yes)
 # See CFLAGS-initfini.s above; this is the same code.
-CFLAGS-pt-initfini.s = -g0 -fpic -O1
+CFLAGS-pt-initfini.s += -fpic -O1
 endif
 ifeq ($(subdir),csu)
 gen-as-const-headers += tcb-offsets.sym

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]