From 4d52b7849a2b335ea2eb76ff8a3dba48291c2235 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 17 Jun 2003 19:03:39 +0000 Subject: When compiling with -O0, linuxthreads does not compile. So add a local override changing -O0 to -O1 only for that directory. --- libpthread/linuxthreads/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpthread') diff --git a/libpthread/linuxthreads/Makefile b/libpthread/linuxthreads/Makefile index 38d0fc5c8..3a868095e 100644 --- a/libpthread/linuxthreads/Makefile +++ b/libpthread/linuxthreads/Makefile @@ -27,6 +27,8 @@ SYSDEPS_DIR:=$(TARGET_ARCH)/sparc32 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/ -- cgit v1.2.3