diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2005-04-30 04:43:20 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2005-04-30 04:43:20 +0000 |
commit | 04dfdf255d4a168dc85711c03d0818c9414765d1 (patch) | |
tree | a2210bf0a0ed87c436ccee68e429d3984d6f2e4d /archivers/p7zip | |
parent | - Fix build with new pkg-config (diff) |
unbreak amd64 and ia64.
Notes
Notes:
svn path=/head/; revision=134394
Diffstat (limited to 'archivers/p7zip')
-rw-r--r-- | archivers/p7zip/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archivers/p7zip/Makefile b/archivers/p7zip/Makefile index 5225938325fd..4e624172d649 100644 --- a/archivers/p7zip/Makefile +++ b/archivers/p7zip/Makefile @@ -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}!' \ |