blob: fe43481e4fc98b0e4283ab372248662262b7c71e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-ab,v 1.18 2016/07/09 12:23:16 adam Exp $
--- builds/unix/unix-cc.in.orig 2016-05-23 04:49:31.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,14 +101,14 @@ 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)
+ # -export-symbols $(EXPORTS_LIST)
# EOF
|