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
38
39
40
|
--- security/coreconf/FreeBSD.mk.orig 2010-03-16 09:57:06.000000000 +0000
+++ security/coreconf/FreeBSD.mk 2010-03-20 17:40:12.000000000 +0000
@@ -49,8 +49,20 @@
ifeq ($(CPU_ARCH),pc98)
CPU_ARCH = x86
endif
-ifeq ($(CPU_ARCH),amd64)
-CPU_ARCH = x86_64
+ifeq ($(OS_TEST),alpha)
+CPU_ARCH = alpha
+endif
+ifeq ($(OS_TEST),amd64)
+CPU_ARCH = amd64
+endif
+ifeq ($(OS_TEST),ia64)
+CPU_ARCH = ia64
+endif
+ifeq ($(OS_TEST),powerpc)
+CPU_ARCH = powerpc
+endif
+ifeq ($(OS_TEST),sparc64)
+CPU_ARCH = sparc64
endif
OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
@@ -78,7 +90,7 @@
DLL_SUFFIX = so.1.0
endif
-MKSHLIB = $(CC) $(DSO_LDOPTS)
+MKSHLIB = $(CC) -Wl,-Bsymbolic -lc $(DSO_LDOPTS) -o $@
ifdef MAPFILE
MKSHLIB += -Wl,--version-script,$(MAPFILE)
endif
@@ -87,4 +99,4 @@
G++INCLUDES = -I/usr/include/g++
-INCLUDES += -I/usr/X11R6/include
+#INCLUDES += -I/usr/local/include
|