aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-11-18 15:38:46 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-11-18 15:38:46 +1100
commitf93c59769bd2fcb06163dd4610a727e7323e8e51 (patch)
tree7bc9aa40e36061eb56bc02d22d17534b3da01f59
parent3b4cab674844097e2c1b66e9579dbf64d218aa49 (diff)
downloadskiboot-f93c59769bd2fcb06163dd4610a727e7323e8e51.zip
skiboot-f93c59769bd2fcb06163dd4610a727e7323e8e51.tar.gz
skiboot-f93c59769bd2fcb06163dd4610a727e7323e8e51.tar.bz2
hello_world: don't link with libgcc
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--test/hello_world/Makefile.check2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hello_world/Makefile.check b/test/hello_world/Makefile.check
index 4191303..7a1889e 100644
--- a/test/hello_world/Makefile.check
+++ b/test/hello_world/Makefile.check
@@ -13,7 +13,7 @@ $(HELLO_WORLD_TEST:%=%-check-qemu) : %-check-qemu: % skiboot.lid
test/hello_world/hello_kernel/hello_kernel.o: test/hello_world/hello_kernel/hello_kernel.S test/hello_world/hello_kernel/hello_kernel.ld
$(call Q,CC, $(CC) -m64 -c -MMD -o $@ $< ,$@)
-hello_kernel_LDFLAGS=-m64 -Wl,--build-id=none -T test/hello_world/hello_kernel/hello_kernel.ld -ffreestanding -nostdlib -Ttext=0x0 -lgcc
+hello_kernel_LDFLAGS=-m64 -Wl,--build-id=none -T test/hello_world/hello_kernel/hello_kernel.ld -ffreestanding -nostdlib -Ttext=0x0
-include $(wildcard test/hello_world/hello_kernel/*.d)