From 352baa827099346a818dbe1d58b0b314a8885042 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Thu, 22 Oct 2015 18:36:37 +0200 Subject: [PATCH] Make sure we don't inherit LDFLAGS from environment. To pass custom LDFLAGS to libite, use EXTRA_LDFLAGS. Signed-off-by: Joachim Nilsson --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3f91f6b..1f4a50d 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ ROOTDIR ?= $(shell pwd) #VERSION = $(shell git tag -l | tail -1) -VERSION = 1.2.3 +VERSION = 1.2.4-pre NAME = libuev PKG = $(NAME)-$(VERSION) ARCHIVE = $(PKG).tar.xz @@ -42,6 +42,7 @@ STRIPINST := $(INSTALL) -s --strip-program=$(CROSS)strip -m 0755 CFLAGS += -fPIC CFLAGS += -Os CPPFLAGS += -W -Wall -Werror +LDFLAGS = $(EXTRA_LDFLAGS) ARFLAGS = crus MAKEFLAGS = --no-print-directory --silent