diff options
Diffstat (limited to 'libutil')
-rw-r--r-- | libutil/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libutil/Makefile b/libutil/Makefile index 390c0695d..97b9d3913 100644 --- a/libutil/Makefile +++ b/libutil/Makefile @@ -24,7 +24,7 @@ TOPDIR=../ include $(TOPDIR)Rules.mak -CFLAGS+=$(SSP_ALL_CFLAGS) +CFLAGS += $(SSP_ALL_CFLAGS) LIB_NAME := libutil AR_LIB_NAME := $(TOPDIR)lib/$(LIB_NAME).a @@ -32,13 +32,13 @@ SO_LIB_NAME = $(TOPDIR)lib/$(LIB_NAME).so SO_FULL_NAME = $(LIB_NAME)-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so CSRC = $(wildcard *.c) -ifneq ($(strip $(ARCH_HAS_MMU)),y) +ifneq ($(ARCH_HAS_MMU),y) CSRC := $(filter-out forkpty.c,$(CSRC)) endif OBJS := $(patsubst %.c,%.o, $(CSRC)) -ifeq ($(strip $(HAVE_SHARED)),y) +ifeq ($(HAVE_SHARED),y) all: $(SO_LIB_NAME) else all: $(AR_LIB_NAME) |