Files
gentoo/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-ldflags.patch
Sergei Trofimovich 4f35256247 sys-fs/diskdev_cmds: respct user's LDFLAGS
Reported-by: Diego Elio Pettenò
Fixed-by: Joshua B. Kahlenberg
Closes: https://bugs.gentoo.org/334619
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-10-10 11:21:31 +01:00

12 lines
300 B
Diff

--- a/newfs_hfs.tproj/Makefile.lnx
+++ b/newfs_hfs.tproj/Makefile.lnx
@@ -4,7 +4,7 @@ OFILES = $(CFILES:.c=.o)
all: newfs_hfs
newfs_hfs: $(OFILES)
- ${CC} ${CFLAGS} -o newfs_hfs ${OFILES} -lcrypto
+ ${CC} ${CFLAGS} -o newfs_hfs ${OFILES} ${LDFLAGS} -lcrypto
clean:
$(RM) newfs_hfs $(OFILES)