Эх сурвалжийг харах

When compiling with -O0, linuxthreads does not compile. So add
a local override changing -O0 to -O1 only for that directory.

Eric Andersen 22 жил өмнө
parent
commit
4d52b7849a

+ 2 - 0
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/