From: Ben Pfaff Date: Tue, 19 Oct 2004 17:37:30 +0000 (+0000) Subject: Allow cpp to remove comments when producing kernel.lds.s. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf4561ae0380b0ae37b7577e0129d50ea29dbb82;p=pintos-anon Allow cpp to remove comments when producing kernel.lds.s. This allows // comments to be used. --- diff --git a/src/Makefile.build b/src/Makefile.build index baf4d83..d5ce473 100644 --- a/src/Makefile.build +++ b/src/Makefile.build @@ -70,7 +70,7 @@ all: os.dsk threads/intr-stubs.S: threads/intr-stubs.pl threads/loader.h $< > $@ -threads/kernel.lds.s: CPPFLAGS += -P -C +threads/kernel.lds.s: CPPFLAGS += -P threads/kernel.lds.s: threads/kernel.lds.S threads/loader.h kernel.o: threads/kernel.lds.s $(OBJECTS) diff --git a/src/constants.h b/src/constants.h index f97b0cb..6fca749 100644 --- a/src/constants.h +++ b/src/constants.h @@ -4,9 +4,6 @@ documentation. Your code should not require other macros to be defined here to function properly. */ -/* Do not use C++-style (//) comments in this file. - You will break the build. */ - /* Example definition. */ /*#define MACRONAME 1 */