summaryrefslogtreecommitdiff
path: root/test/Rules.mak
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-10-17 13:28:17 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-10-17 13:28:17 -0700
commitc94314fa618c682646c07ddd914a5abb77346273 (patch)
tree6a67bc45a20f532bd698c0438140ba24945b7b14 /test/Rules.mak
parente58798e107d652644629a1daaa95d76430808d53 (diff)
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 <austinf@cetoncorp.com>
Diffstat (limited to 'test/Rules.mak')
-rw-r--r--test/Rules.mak6
1 files changed, 3 insertions, 3 deletions
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