Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 8 Jun 2011 03:35:39 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Makefile LN = ln -sf

Jim, magnum -

In -jumbo-5, there are these changes (which were not in -jumbo-1):

-LN = ln -sf
+LN = ln -f -s

 solaris-sparc64-cc:
+	$(RM) arch.h
 	$(LN) sparc64.h arch.h

and similar for other Solaris targets.

Why?  Didn't the original Makefile work fine on Solaris?

Then, why make both changes at once?  Are they unrelated or are they
both an attempt to fix the same issue?

Normally, the "-f" option to "ln -s" tells it to remove existing
destination files before creating the symlink, so the $(RM) shouldn't be
needed.  Also, normally "ln -sf" is the same as "ln -f -s".

Thanks,

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.