mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Wrap $CC with quotes.
Patch provided by Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
This commit is contained in:
parent
f18687e356
commit
b1d48b89ba
2
Makefile
2
Makefile
@ -321,7 +321,7 @@ makeconfig: .makefiles buildtools
|
||||
;; \
|
||||
esac; \
|
||||
fi; \
|
||||
CC=$(CC); \
|
||||
CC="$(CC)"; \
|
||||
OLDIFS="$$IFS"; \
|
||||
IFS=":"; \
|
||||
for dir in $$PATH; do \
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
all: FORCE
|
||||
@if [ ! -z "$(NEEDUNPROTO)" ]; then \
|
||||
cd unproto; $(MAKE) $(MFLAGS) CC=$(CC); \
|
||||
cd unproto; $(MAKE) $(MFLAGS) CC="$(CC)"; \
|
||||
else \
|
||||
exit 0; \
|
||||
fi
|
||||
|
@ -33,7 +33,7 @@ LIBS = -llber $(ISODELIBS) $(KRBLIBS) $(ALIBS)
|
||||
|
||||
all: FORCE
|
||||
@if [ "$(HAVEISODE)" = "yes" ]; then \
|
||||
$(MAKE) $(MFLAGS) CC=$(CC) ldapd; \
|
||||
$(MAKE) $(MFLAGS) CC="$(CC)" ldapd; \
|
||||
else \
|
||||
echo "uncomment the HAVEISODE=yes line in the Make-common file to build ldapd"; \
|
||||
fi
|
||||
@ -66,7 +66,7 @@ LDAP-types.h: LDAP_tables.c
|
||||
|
||||
install: FORCE
|
||||
@if [ "$(HAVEISODE)" = "yes" ]; then \
|
||||
$(MAKE) $(MFLAGS) CC=$(CC) install-ldapd; \
|
||||
$(MAKE) $(MFLAGS) CC="$(CC)" install-ldapd; \
|
||||
else \
|
||||
echo "uncomment the HAVEISODE=yes line in the Make-common file to build and install ldapd"; \
|
||||
fi
|
||||
|
@ -27,7 +27,7 @@ CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS)
|
||||
all: FORCE
|
||||
-@echo "$(SLAPD_BACKENDS)" | grep LDAP_PASSWD 2>&1 > /dev/null; \
|
||||
if [ $$? = 0 ]; then \
|
||||
$(MAKE) $(MFLAGS) CC=$(CC) libback-passwd.a; \
|
||||
$(MAKE) $(MFLAGS) CC="$(CC)" libback-passwd.a; \
|
||||
else \
|
||||
echo "Include -DLDAP_PASSWD in SLAPD_BACKENDS in the"; \
|
||||
echo "Make-common file to build the passwd backend"; \
|
||||
|
@ -29,7 +29,7 @@ CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS)
|
||||
all: FORCE
|
||||
-@echo "$(SLAPD_BACKENDS)" | grep LDAP_SHELL 2>&1 > /dev/null; \
|
||||
if [ $$? = 0 ]; then \
|
||||
$(MAKE) $(MFLAGS) CC=$(CC) libback-shell.a; \
|
||||
$(MAKE) $(MFLAGS) CC="$(CC)" libback-shell.a; \
|
||||
else \
|
||||
echo "Include -DLDAP_SHELL in SLAPD_BACKENDS in the"; \
|
||||
echo "Make-common file to build the shell backend"; \
|
||||
|
@ -39,7 +39,7 @@ all: build-edb2ldif ldif2index ldif2ldbm ldbmcat ldif2id2entry \
|
||||
|
||||
build-edb2ldif: FORCE
|
||||
@if [ "$(HAVEISODE)" = "yes" ]; then \
|
||||
$(MAKE) $(MFLAGS) CC=$(CC) EXINCLUDES="$(ISODEINCLUDEFLAG)" \
|
||||
$(MAKE) $(MFLAGS) CC="$(CC)" EXINCLUDES="$(ISODEINCLUDEFLAG)" \
|
||||
EXLDFLAGS="$(ISODELIBFLAG)" EXLIBS="$(ISODELIBS)" edb2ldif; \
|
||||
else \
|
||||
echo "uncomment the HAVEISODE=yes line in the Make-common file to build edb2ldif"; \
|
||||
@ -59,7 +59,7 @@ edb2-vers.c: $(EDB2LDIFOBJS)
|
||||
|
||||
build-chlog2replog: FORCE
|
||||
@if [ "$(HAVEISODE)" = "yes" ]; then \
|
||||
$(MAKE) $(MFLAGS) CC=$(CC) EXINCLUDES="$(ISODEINCLUDEFLAG)" \
|
||||
$(MAKE) $(MFLAGS) CC="$(CC)" EXINCLUDES="$(ISODEINCLUDEFLAG)" \
|
||||
EXLDFLAGS="$(ISODELIBFLAG)" EXLIBS="$(ISODELIBS)" chlog2replog; \
|
||||
else \
|
||||
echo "uncomment the HAVEISODE=yes line in the Make-common file to build chlog2replog"; \
|
||||
|
Loading…
Reference in New Issue
Block a user