aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tests
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-11-13 17:57:22 +0000
committerKeir Fraser <keir@xensource.com>2007-11-13 17:57:22 +0000
commitad703ba1679b0944da3a0d0109f2b1b92b496aff (patch)
treef4d018c133e360355efacea37ced482e74709862 /tools/tests
parent6d659d7442e486afe80a6c29f4ca41b757a01e2b (diff)
downloadxen-ad703ba1679b0944da3a0d0109f2b1b92b496aff.tar.gz
xen-ad703ba1679b0944da3a0d0109f2b1b92b496aff.tar.bz2
xen-ad703ba1679b0944da3a0d0109f2b1b92b496aff.zip
tools: Avoid -nostdlib argument to $(LD).
This interacts badly with GNU ld on Solaris. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/tests')
-rw-r--r--tools/tests/blowfish.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/tests/blowfish.mk b/tools/tests/blowfish.mk
index 95c39ae4ab..ecad7836a4 100644
--- a/tools/tests/blowfish.mk
+++ b/tools/tests/blowfish.mk
@@ -10,13 +10,12 @@ CFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
CFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)
CFLAGS += -fno-builtin -O2 -msoft-float
-LDFLAGS = -nostdlib -Wl,-N -Wl,-Ttext -Wl,0x100000
.PHONY: all
all: blowfish.bin
blowfish.bin: blowfish.c
$(CC) $(CFLAGS) -c blowfish.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o blowfish.tmp blowfish.o
+ $(LD) $(LDFLAGS_DIRECT) -N -Ttext 0x100000 -o blowfish.tmp blowfish.o
$(OBJCOPY) -O binary blowfish.tmp blowfish.bin
rm -f blowfish.tmp