sysutils/evhz: respect LDFLAGS
For those not passed via CFLAGS as well e.g., -static.
(cherry picked from commit 7c8ae4a390
)
This commit is contained in:
parent
37069b7a83
commit
a809411980
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user