diff options
-rw-r--r-- | libpthread/linuxthreads/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/Makefile b/libpthread/linuxthreads/Makefile index 880fda291..1a3293266 100644 --- 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/ |