Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 41bb3cb

Browse files
committed
Back off allow_nonpic_in_shlib for FreeBSD builds: only set it on i386.
This might be overly conservative, but we know it does not work on amd64. Per buildfarm results.
1 parent 75f633b commit 41bb3cb

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/makefiles/Makefile.freebsd

+3-5
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ endif
77

88
DLSUFFIX = .so
99

10-
ifeq ($(findstring sparc,$(host_cpu)), sparc)
11-
CFLAGS_SL = -fPIC -DPIC
12-
else
1310
CFLAGS_SL = -fPIC -DPIC
11+
12+
ifeq ($(findstring i386,$(host_cpu)), i386)
13+
allow_nonpic_in_shlib = yes
1414
endif
1515

1616

@@ -28,5 +28,3 @@ else
2828
endif
2929

3030
sqlmansect = 7
31-
32-
allow_nonpic_in_shlib = yes

0 commit comments

Comments
 (0)