OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c6f239
)
here is (I hope) a better way to handle this one. I regularly build
author
Eric Andersen
<andersen@codepoet.org>
Fri, 29 Aug 2003 22:52:20 +0000
(22:52 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Fri, 29 Aug 2003 22:52:20 +0000
(22:52 -0000)
debug versions of uClibc with -O0, but libpthread/linuxthreads/spinlock.c
will not compile without at least -O1 optimization...
libpthread/linuxthreads/Makefile
patch
|
blob
|
history
diff --git
a/libpthread/linuxthreads/Makefile
b/libpthread/linuxthreads/Makefile
index
880fda2
..
1a32932
100644
(file)
--- a/
libpthread/linuxthreads/Makefile
+++ b/
libpthread/linuxthreads/Makefile
@@
-28,7
+28,8
@@
else
SYSDEPS_DIR:=$(TARGET_ARCH)
endif
#This stuff will not compile without at least -O1
-#CFLAGS := $(subst -O0,-O1,$(CFLAGS))
+CFLAGS :=$(CFLAGS:-O0=-O1)
+
# set up system dependencies include dirs (NOTE: order matters!)
PTDIR = $(TOPDIR)libpthread/linuxthreads/