$NetBSD: patch-ab,v 1.17 2011/08/03 08:25:41 cheusov Exp $ --- builds/unix/unix-cc.in.orig 2010-08-31 11:04:28.000000000 +0000 +++ builds/unix/unix-cc.in @@ -89,7 +89,7 @@ ANSIFLAGS := @XX_ANSIFLAGS@ # # CCraw := $(CC) -CC := $(LIBTOOL) --mode=compile $(CCraw) +CC := $(LIBTOOL) --tag=CC --mode=compile $(CCraw) # Linker flags. # @@ -101,12 +101,12 @@ LDFLAGS := @LDFLAGS@ CCraw_build := @CC_BUILD@ # native CC of building system E_BUILD := @EXEEXT_BUILD@ # extension for exexutable on building system EXPORTS_LIST := $(OBJ_DIR)/ftexport.sym -CCexe := $(CCraw_build) # used to compile `apinames' only +CCexe := $(CCraw_build) @CFLAGS@ # used to compile `apinames' only # Library linking # -LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \ +LINK_LIBRARY = $(LIBTOOL) --tag=CC --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \ -rpath $(libdir) -version-info $(version_info) \ $(LDFLAGS) -no-undefined \ # -export-symbols $(EXPORTS_LIST)