Add -fPIC to CXXFLAGS to fix build with amd64 and other archs that likely
need it Reported by: pkg-fallout
This commit is contained in:
parent
38ee25145f
commit
f9c32ef3ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430258
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= libunrar5
|
||||
PORTVERSION= 5.4.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= http://www.rarlab.com/rar/
|
||||
DISTNAME= unrarsrc-${PORTVERSION}
|
||||
@ -21,7 +22,7 @@ ALL_TARGET= lib liba
|
||||
MAKEFILE= makefile
|
||||
MAKE_ARGS= AR="${AR}" \
|
||||
CXX="${CXX}" \
|
||||
CXXFLAGS="${CXXFLAGS}" \
|
||||
CXXFLAGS="${CXXFLAGS} -fPIC" \
|
||||
LDFLAGS="-Wl,-soname,${SONAME} -pthread ${LDFLAGS}" \
|
||||
STRIP="${STRIP_CMD}"
|
||||
SONAME= libunrar.so.5
|
||||
|
Loading…
Reference in New Issue
Block a user