X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2FMakefile.userprog;fp=src%2FMakefile.userprog;h=2e95f9b0f99ffee177b63b42bf05e8caa7669e78;hb=9d6ad9a479ddae9628dc2d45862f9281986c430b;hp=90506a0c180eb30e54727abd4966b043b428f2f1;hpb=515939328292cac043cf76c8e505e93b9b2c90e3;p=pintos-anon diff --git a/src/Makefile.userprog b/src/Makefile.userprog index 90506a0..2e95f9b 100644 --- a/src/Makefile.userprog +++ b/src/Makefile.userprog @@ -10,11 +10,7 @@ DEFINES = -DPINTOS -DUSER CPPFLAGS = -nostdinc -I$(SRCDIR) -I- -I$(SRCDIR)/lib -I$(SRCDIR)/lib/user -I. # Linker flags. -# If you want to include debug symbols, comment out the STRIP assignment, -# or invoke `make' as `make STRIP='. -# Otherwise debug symbols will be omitted from executables to save space. -STRIP = -s -LDFLAGS = -nostdlib -static $(STRIP) +LDFLAGS = -nostdlib -static LDLIBS = $(shell $(CC) -print-libgcc-file-name) # C library sources linked into every test program.