From a8687de4ade64f7dc710c2ba360f4790974734c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 6 Jan 2003 08:30:40 +0000 Subject: [PATCH] Added a _ASSEMBLER define in the assembler rule, so that we can differentiate in a header if it was included from assembler or not (if anybody knows a better way how to solve this, feel free to speak, I haven't found anything :). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2367 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- Jamrules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jamrules b/Jamrules index f51c87a1dc..52a41eaaaf 100644 --- a/Jamrules +++ b/Jamrules @@ -1117,7 +1117,7 @@ rule assemble actions assemble { - $(CC) -c "$(2)" -O2 $(ASFLAGS) $(KERNEL_CCFLAGS) $(ASHDRS) -o "$(1)" ; + $(CC) -c "$(2)" -O2 $(ASFLAGS) -D_ASSEMBLER $(KERNEL_CCFLAGS) $(ASHDRS) -o "$(1)" ; } # Overridden to allow spaces in file names.