From 80ed5691a22a24c961b53222de698c0b65a574dc Mon Sep 17 00:00:00 2001 From: Paweł Hajdan Date: Tue, 19 Jan 2010 14:37:41 +0000 Subject: Do not pass CFLAGS to make link rules. Thanks to Dmitry V. Levin . (Portage version: 2.1.6.13/cvs/Linux i686) --- sys-auth/tcb/files/tcb-1.0.2-build.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-auth/tcb/files') diff --git a/sys-auth/tcb/files/tcb-1.0.2-build.patch b/sys-auth/tcb/files/tcb-1.0.2-build.patch index fe4220b787f0..60cc1c519354 100644 --- a/sys-auth/tcb/files/tcb-1.0.2-build.patch +++ b/sys-auth/tcb/files/tcb-1.0.2-build.patch @@ -5,14 +5,14 @@ $(LIBTCB_LONG): libtcb.o $(LIB_MAP) - $(CC) $(DBGFLAG) -shared -o $@ -Wl,-soname,$(LIBTCB) \ -+ $(CC) $(CFLAGS) $(LDFLAGS) $(DBGFLAG) -shared -o $@ -Wl,-soname,$(LIBTCB) \ ++ $(CC) $(LDFLAGS) $(DBGFLAG) -shared -o $@ -Wl,-soname,$(LIBTCB) \ -Wl,--version-script=$(LIB_MAP) $< -lc ln -sf $@ $(LIBTCB) ln -sf $(LIBTCB) libtcb.so $(LIBNSS): nss.o $(NSS_MAP) $(LIBTCB_LONG) - $(CC) $(DBGFLAG) -shared -o $@ -Wl,--version-script=$(NSS_MAP) \ -+ $(CC) $(CFLAGS) $(LDFLAGS) $(DBGFLAG) -shared -o $@ -Wl,-soname,$@ -Wl,--version-script=$(NSS_MAP) \ ++ $(CC) $(LDFLAGS) $(DBGFLAG) -shared -o $@ -Wl,-soname,$@ -Wl,--version-script=$(NSS_MAP) \ $< -L. $(LIBNSL) -ltcb .c.o: -- cgit v1.2.3-65-gdbad