1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

unbreak amd64 and ia64.

This commit is contained in:
FUJISHIMA Satsuki 2005-04-30 04:43:20 +00:00
parent 7328d522ff
commit 04dfdf255d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134394

View File

@ -39,6 +39,10 @@ ALL_TARGET= 7za sfx
IGNORE= requires wchar functions (mbrtowc(3) etc.) for compilation
.endif
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
.endif
post-patch:
${SED} -e 's/-O2/${CFLAGS} ${PTHREAD_CFLAGS}/' \
-e 's!g\+\+!${CXX}!' \