blob: 2fb5e315ceb22949ee33a53582b898255e25aa67 (
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
|
--- build/FreeBSD.gcc.inc.orig 2020-07-10 13:18:01 UTC
+++ build/FreeBSD.gcc.inc
@@ -26,7 +26,7 @@ WARNING_SUPPRESS = -Wno-parentheses
CPLUS = g++
CONLY = gcc
-LIB_LINK_FLAGS = -shared
+LIB_LINK_FLAGS = -shared -Wl,-soname=$(BUILDING_LIBRARY)
LIBS = -lpthread
C_FLAGS = $(CPLUS_FLAGS)
@@ -58,6 +58,21 @@ endif
ifeq (intel64,$(arch))
CPLUS_FLAGS += -m64
LIB_LINK_FLAGS += -m64
+endif
+
+ifeq (powerpc64,$(arch))
+ CPLUS_FLAGS += -m64
+ LIB_LINK_FLAGS += -m64
+endif
+
+ifeq (powerpc64le,$(arch))
+ CPLUS_FLAGS += -m64
+ LIB_LINK_FLAGS += -m64
+endif
+
+ifeq (powerpc,$(arch))
+ CPLUS_FLAGS += -m32
+ LIB_LINK_FLAGS += -m32
endif
ifeq (ia32,$(arch))
|