Add -fPIC to fix build on amd64

This commit is contained in:
Tilman Keskinoz 2003-11-21 14:51:01 +00:00
parent fe70b7961e
commit da766673a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94651

View File

@ -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