projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Detect GCC 3.x versus 4.x and use -I- or -isystem, respectively, to
[pintos-anon]
/
src
/
Makefile.userprog
diff --git
a/src/Makefile.userprog
b/src/Makefile.userprog
index 72e35ce7ee92a285e4d1b6562318247bda427754..dddb1aa4b62f5ca1257dd95130dc95e6c86bcb7f 100644
(file)
--- a/
src/Makefile.userprog
+++ b/
src/Makefile.userprog
@@
-2,7
+2,7
@@
include $(SRCDIR)/Make.config
include $(SRCDIR)/Make.config
-$(PROGS):
CPPFLAGS += -I$(SRCDIR)/lib/user -I.
+$(PROGS):
SYSINCDIRS += $(SRCDIR)/lib/user
# Linker flags.
$(PROGS): LDFLAGS = -nostdlib -static -Wl,-T,$(LDSCRIPT)
# Linker flags.
$(PROGS): LDFLAGS = -nostdlib -static -Wl,-T,$(LDSCRIPT)