diff options
author | David Howells <dhowells@redhat.com> | 2014-09-22 15:33:06 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-09-22 15:33:06 +0100 |
commit | 8823736faf5055aa471956c0d97c0f06968a2137 (patch) | |
tree | f723504170519c7c039280889e1f133fb0efb1b1 /Makefile | |
parent | a4deb71ddc05e951c8be8d46615beed9d408a5c8 (diff) | |
download | keyutils-8823736faf5055aa471956c0d97c0f06968a2137.tar.gz |
Don't define LNS twice in the Makefile and define in terms of $(LN)
The LNS Makefile macro is defined the same way twice. Remove the second
definition. Also, put the definition of LNS in terms of $(LN).
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -17,7 +17,7 @@ MAN5 := $(MANDIR)/man5 MAN7 := $(MANDIR)/man7 MAN8 := $(MANDIR)/man8 INCLUDEDIR := /usr/include -LNS := ln -sf +LNS := $(LN) -sf ############################################################################### # @@ -63,8 +63,6 @@ USRLIBDIR := $(patsubst /lib/%,/usr/lib/%,$(LIBDIR)) endif BUILDFOR := $(shell file /usr/bin/make | sed -e 's!.*ELF \(32\|64\)-bit.*!\1!')-bit -LNS := ln -sf - ifeq ($(origin CFLAGS),undefined) ifeq ($(BUILDFOR),32-bit) CFLAGS += -m32 |