summaryrefslogtreecommitdiffstats
path: root/www/mozilla/files/patch-security::coreconf::FreeBSD.mk
blob: 5c76b5af5ebfa90d5ec1fdf6e75b9a57e1f58e93 (plain) (blame)
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
32
33
34
35
36
37
--- security/coreconf/FreeBSD.mk.orig   Wed Mar 26 20:17:25 2003
+++ security/coreconf/FreeBSD.mk    Thu Jul  8 12:56:24 2004
@@ -35,16 +35,18 @@
 
 include $(CORE_DEPTH)/coreconf/UNIX.mk
 
-DEFAULT_COMPILER   = gcc
-CC         = gcc
-CCC            = g++
+CCC            = ${CXX}
 RANLIB         = ranlib
 
 ifeq ($(OS_TEST),alpha)
 CPU_ARCH       = alpha
 else
+ifeq ($(OS_TEST),amd64)
+CPU_ARCH       = amd64
+else
 CPU_ARCH       = x86
 endif
+endif
 
 OS_CFLAGS      = $(DSO_CFLAGS) -ansi -Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
 
@@ -71,7 +73,11 @@
 DLL_SUFFIX     = so.1.0
 endif
 
-MKSHLIB            = $(CC) $(DSO_LDOPTS)
+ifneq (,$(filter alpha ia64,$(OS_TEST)))
+MKSHLIB            = $(CC) -Wl,-Bsymbolic -lc $(DSO_LDOPTS) -o $@
+else
+MKSHLIB            = $(CC) -Wl,-Bsymbolic $(DSO_LDOPTS) -o $@
+endif
 ifdef MAPFILE
 # Add LD options to restrict exported symbols to those in the map file
 endif
span class='deletions'>-1/+1 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-1/+1 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * - Add SHA256pav2005-11-261-0/+1 * Remove 1-line plists in favour of PLIST_FILESvs2005-03-152-1/+2 * Trim whitespace.trevor2004-04-111-1/+0 * SIZEify.trevor2004-01-301-0/+1