23 lines
1019 B
Diff
23 lines
1019 B
Diff
|
diff -Nru diskdev_cmds-332.14.orig/Makefile.lnx diskdev_cmds-332.14/Makefile.lnx
|
||
|
--- diskdev_cmds-332.14.orig/Makefile.lnx 2012-02-25 21:05:44.270333659 +0100
|
||
|
+++ diskdev_cmds-332.14/Makefile.lnx 2012-02-25 21:06:29.687822523 +0100
|
||
|
@@ -1,5 +1,5 @@
|
||
|
CC := gcc
|
||
|
-CFLAGS := -g3 -Wall -I$(PWD)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1
|
||
|
+CFLAGS := -g3 -Wall -Wl,--as-needed -I$(PWD)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1
|
||
|
SUBDIRS := newfs_hfs.tproj fsck_hfs.tproj
|
||
|
|
||
|
all clean:
|
||
|
diff -Nru diskdev_cmds-332.14.orig/newfs_hfs.tproj/Makefile.lnx diskdev_cmds-332.14/newfs_hfs.tproj/Makefile.lnx
|
||
|
--- diskdev_cmds-332.14.orig/newfs_hfs.tproj/Makefile.lnx 2012-02-25 21:05:44.336332916 +0100
|
||
|
+++ diskdev_cmds-332.14/newfs_hfs.tproj/Makefile.lnx 2012-02-25 21:07:03.048447076 +0100
|
||
|
@@ -4,7 +4,7 @@
|
||
|
all: newfs_hfs
|
||
|
|
||
|
newfs_hfs: $(OFILES)
|
||
|
- ${CC} ${CFLAGS} -o newfs_hfs ${OFILES} -lssl
|
||
|
+ ${CC} ${CFLAGS} -o newfs_hfs ${OFILES} -lssl -lcrypto
|
||
|
|
||
|
clean:
|
||
|
$(RM) newfs_hfs $(OFILES)
|