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

Lines changed: 3 additions & 5 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy