OSDN Git Service

Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all objects at...
[uclinux-h8/uClibc.git] / libnsl / Makefile
index 45525c8..b7367fb 100644 (file)
@@ -19,7 +19,7 @@
 TOPDIR=../
 include $(TOPDIR)Rules.mak
 
-CFLAGS+=$(SSP_ALL_CFLAGS)
+CFLAGS += $(SSP_ALL_CFLAGS)
 
 LIB_NAME := libnsl
 AR_LIB_NAME := $(TOPDIR)lib/$(LIB_NAME).a
@@ -30,7 +30,7 @@ CSRC := $(wildcard *.c)
 
 OBJS := $(patsubst %.c,%.o, $(CSRC))
 
-ifeq ($(strip $(HAVE_SHARED)),y)
+ifeq ($(HAVE_SHARED),y)
 all: $(SO_LIB_NAME)
 else
 all: $(AR_LIB_NAME)