X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=blobdiff_plain;f=src%2FMakefile.userprog;h=f90b08c965e365022aa78b0d97eb417c0160c6b4;hp=3631cf1b221b2a3bf3e5e0fb02457338a39132db;hb=4ae5b30e5eb0be98521235060001c2d6d9828345;hpb=e587ab7ffa2d548029189e540d5716f880932cb1 diff --git a/src/Makefile.userprog b/src/Makefile.userprog index 3631cf1..f90b08c 100644 --- a/src/Makefile.userprog +++ b/src/Makefile.userprog @@ -3,7 +3,7 @@ $(PROGS): CPPFLAGS += -I$(SRCDIR)/lib/user -I. # Linker flags. -$(PROGS): LDFLAGS = -nostdlib -static -Wl,-T,$(LDSCRIPT) +$(PROGS): LDFLAGS += -nostdlib -static -Wl,-T,$(LDSCRIPT) $(PROGS): LDSCRIPT = $(SRCDIR)/lib/user/user.lds # Library code shared between kernel and user programs.