comms/hcidump: Fix a link error
Fix the following by adding -fPIE to CFLAGS: /usr/local/bin/x86_64-unknown-freebsd14.0-ld: ../parser/libparser.a(hidp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE /usr/local/bin/x86_64-unknown-freebsd14.0-ld: final link failed: nonrepresentable section on output cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [hcidump] Error code 1 MFH: 2021Q4
This commit is contained in:
parent
f7d815bded
commit
b581f84ea5
@ -16,7 +16,7 @@ USES= uidfix
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME}
|
||||
|
||||
CFLAGS+= -DL2CAP_SOCKET_CHECKED=yes
|
||||
CFLAGS+= -DL2CAP_SOCKET_CHECKED=yes -fPIE
|
||||
|
||||
PLIST_FILES= bin/hcidump man/man1/hcidump.1.gz
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user