Skip to content

Commit

Permalink
mail/eps: fix build on powerpc64 elfv2
Browse files Browse the repository at this point in the history
lld needs -fPIC:
ld: error: relocation R_PPC64_TOC16_LO cannot be used against symbol _i_headers; recompile with -fPIC
>>> defined in email.o
>>> referenced by email.c
>>>               email.o:(email_header_internal)
  • Loading branch information
pkubaj committed Mar 18, 2020
1 parent 612487e commit d66b12e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mail/eps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ USE_CSTD= gnu89

CFLAGS_amd64= -fPIC
CFLAGS_i386= -fPIC
CFLAGS_powerpc64= -fPIC

PORTDOCS= howto

Expand Down

0 comments on commit d66b12e

Please sign in to comment.