$OpenBSD: patch-src_runtime_objs_makefile,v 1.1 2010/05/22 10:17:36 espie Exp $
--- src/runtime/objs/makefile.orig	Sat May 22 12:03:11 2010
+++ src/runtime/objs/makefile	Sat May 22 12:06:12 2010
@@ -260,7 +260,7 @@ prim.o:		$(MACH_DIR)/$(TARGET).prim.asm \
 		ml-sizes.h reg-mask.h $(INC_DIR)/ml-base.h $(INC_DIR)/tags.h \
 		$(INC_DIR)/asm-base.h \
 		mlstate-offsets.h
-	$(CPP) -D_ASM_ $(DEFS) -I$(BC_DIR) $(INCLUDES) $(MACH_DIR)/$(TARGET).prim.asm > prim.s
+	$(CPP) -D_ASM_ -fno-dollars-in-identifiers $(DEFS) -I$(BC_DIR) $(INCLUDES) $(MACH_DIR)/$(TARGET).prim.asm > prim.s
 	$(AS) -o prim.o prim.s
 
 $(MACH_DIR)/BYTECODE.prim.asm: bc-instr-def.h $(BC_DIR)/bc-instrs.h $(BC_DIR)/bc.h
