[uClibc-cvs] uClibc/libpthread/linuxthreads Makefile,1.6,1.7

Erik Andersen andersen at uclibc.org
Tue Jun 17 19:03:43 UTC 2003


Update of /var/cvs/uClibc/libpthread/linuxthreads
In directory winder:/tmp/cvs-serv11072/libpthread/linuxthreads

Modified Files:
	Makefile 
Log Message:
When compiling with -O0, linuxthreads does not compile.  So add
a local override changing -O0 to -O1 only for that directory.


Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libpthread/linuxthreads/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile	13 Mar 2003 19:54:36 -0000	1.6
+++ Makefile	17 Jun 2003 19:03:39 -0000	1.7
@@ -27,6 +27,8 @@
 else
 SYSDEPS_DIR:=$(TARGET_ARCH)
 endif
+#This stuff will not compile without at least -O1
+CFLAGS := $(subst -O0,-O1,$(CFLAGS))
 
 # set up system dependencies include dirs (NOTE: order matters!)
 PTDIR = $(TOPDIR)libpthread/linuxthreads/



More information about the uClibc-cvs mailing list