From ba9cc212d782678cb32167b498efa82718b60b7f Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Tue, 18 Sep 2012 20:29:06 -0400 Subject: [PATCH] quiet build: Define NOQ version of LT_LDLIB_lwp When the command is invoked within a case statement, we need the "NOQ" version of RUN_LD. Add the LT_LDLIB_lwp_NOQ variant and use it under src/sys where LT_LDLIB_lwp causes a build error. Change-Id: I5af9c6cbbe9c3cf284d8e9aabb63d53bf5b056ea Reviewed-on: http://gerrit.openafs.org/8140 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/config/Makefile.config.in | 6 ++++++ src/sys/Makefile.in | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/config/Makefile.config.in b/src/config/Makefile.config.in index a8ba484..9bc0a14 100644 --- a/src/config/Makefile.config.in +++ b/src/config/Makefile.config.in @@ -271,6 +271,12 @@ LT_LDLIB_lwp=$(RUN_LD) $(LWPTOOL) --mode link \ -o $@ \ -- +LT_LDLIB_lwp_NOQ=$(RUN_LD_NOQ) $(LWPTOOL) --mode link \ + --ranlib "$(RANLIB)" \ + --linker "$(AR) crv" \ + -o $@ \ + -- + # Use this to link an executable with one or more libtool libraries LT_LDRULE = $(RUN_LD) $(LIBTOOL) --quiet --mode=link --tag=CC \ $(MT_CC) $(PTH_LDFLAGS) $(PTH_CFLAGS) \ diff --git a/src/sys/Makefile.in b/src/sys/Makefile.in index fcad0ca..ff6a9f2 100644 --- a/src/sys/Makefile.in +++ b/src/sys/Makefile.in @@ -97,9 +97,9 @@ depinstall: \ libsys.a: $(LT_objs) afsl.exp syscall.lo @set -e; set -x; case "$(SYS_NAME)" in \ rs_aix*) \ - $(LT_LDLIB_lwp) $(LT_objs) syscall.o afsl.exp ;; \ + $(LT_LDLIB_lwp_NOQ) $(LT_objs) syscall.o afsl.exp ;; \ *) \ - $(LT_LDLIB_lwp) $(LT_objs) syscall.o ;; \ + $(LT_LDLIB_lwp_NOQ) $(LT_objs) syscall.o ;; \ esac # On AIX, liboafs_sys uses lsetpag() and lpioctl() which are syscall stubs, -- 1.9.4