From c94314fa618c682646c07ddd914a5abb77346273 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Sat, 17 Oct 2009 13:28:17 -0700 Subject: build system changes needed for nptl * add include dir for nptl * pregen nptl headers * add include dir to pick up subarchs * a few tweaks for test/* to match state of the code Signed-off-by: Austin Foxley --- test/Rules.mak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/Rules.mak') diff --git a/test/Rules.mak b/test/Rules.mak index 8e154c590..d31372f78 100644 --- a/test/Rules.mak +++ b/test/Rules.mak @@ -111,9 +111,9 @@ else HOST_LDFLAGS += -s endif -ifneq ($(strip $(HAVE_SHARED)),y) - LDFLAGS += -static - HOST_LDFLAGS += -static +ifeq ($(strip $(UCLIBC_STATIC)),y) + STATIC_LDFLAGS := -static + HOST_LDFLAGS += -static endif LDFLAGS += -B$(top_builddir)lib -Wl,-rpath,$(top_builddir)lib -Wl,-rpath-link,$(top_builddir)lib -- cgit v1.2.3