From d5567cf488e91ac6f6bf10cd8c0d44b58213a6e6 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 19 Oct 2004 17:37:30 +0000 Subject: [PATCH] Allow cpp to remove comments when producing kernel.lds.s. This allows // comments to be used. --- src/Makefile.build | 2 +- src/constants.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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 */ -- 2.30.2