Skip to content

Commit

Permalink
sysutils/evhz: respect LDFLAGS
Browse files Browse the repository at this point in the history
For those not passed via CFLAGS as well e.g., -static.
  • Loading branch information
jbeich committed Oct 12, 2022
1 parent 9ef20b5 commit 7c8ae4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysutils/evhz/Makefile
Expand Up @@ -17,7 +17,7 @@ USES= localbase
PLIST_FILES= bin/${PORTNAME}

do-build:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c)
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c)

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
Expand Down

0 comments on commit 7c8ae4a

Please sign in to comment.