mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Attempt to fix the issue for 10.x, 11.x and head on i386.
networking.o: In function `createClient': networking.c:(.text+0x189): undefined reference to `__atomic_fetch_add_8' cc: error: linker command failed with exit code 1 (use -v to see invocation) Do not bump PORTREVISION since this change affects i386 only what's broken till now.
This commit is contained in:
parent
b08f17db54
commit
9f3f9c6cbf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448487
1 changed files with 5 additions and 2 deletions
|
@ -12,8 +12,6 @@ COMMENT= Persistent key-value database with built-in net interface
|
|||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
BROKEN_FreeBSD_10_i386= undefined reference to __atomic_fetch_add_8
|
||||
|
||||
USES= execinfo
|
||||
|
||||
OPTIONS_DEFINE= TESTS TRIB
|
||||
|
@ -27,6 +25,11 @@ TRIB_DESC= Install redis-trib.rb (lang/ruby req.)
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == i386 && ! ${CFLAGS:M-march=*}
|
||||
# Needed for __atomic_fetch_add_8
|
||||
CFLAGS+= -march=i586
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MTRIB}
|
||||
CATEGORIES+= ruby
|
||||
USE_RUBY= yes
|
||||
|
|
Loading…
Add table
Reference in a new issue