Add -fPIC to fix build on amd64
This commit is contained in:
parent
fe70b7961e
commit
da766673a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94651
@ -50,7 +50,7 @@ PLIST_SUB+= UNIXODBC="@comment "
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|g++|${CXX}|g ; \
|
||||
s|@CFLAGS@|${CXXFLAGS}|g ; \
|
||||
s|@CFLAGS@|${CXXFLAGS} -fPIC|g ; \
|
||||
s|gcc|${CXX}|g ; \
|
||||
s|cp -f \.|${INSTALL_DATA} .|g' ${WRKSRC}/Makefile.in
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user