aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2014-10-26 19:36:28 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2014-10-26 19:36:28 -0700
commitfda0d85ae4596262d1da642593676e0f3cf3f0f1 (patch)
tree0725f2bd71cd1bbb7912de74f519a025a4703245 /Makefile.in
parent90e64853188620e02a02727ff050e5014cbc2528 (diff)
downloadriscv-pk-fda0d85ae4596262d1da642593676e0f3cf3f0f1.zip
riscv-pk-fda0d85ae4596262d1da642593676e0f3cf3f0f1.tar.gz
riscv-pk-fda0d85ae4596262d1da642593676e0f3cf3f0f1.tar.bz2
Don't rely on the C library
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 2e4ab53..0ab3e6c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -91,7 +91,7 @@ COMPILE := $(CC) -MMD -MP $(CFLAGS) \
# - LIBS : Library flags (eg. -l)
LD := $(CC)
-LDFLAGS := @LDFLAGS@ -nostartfiles -nostdlib $(LDFLAGS)
+LDFLAGS := @LDFLAGS@ -nostartfiles -nostdlib -static $(LDFLAGS)
LIBS := @LIBS@
LINK := $(LD) $(LDFLAGS) -T $(src_dir)/pk/pk.ld