diff --git a/lang/smlnj/patches/patch-src_runtime_objs_makefile b/lang/smlnj/patches/patch-src_runtime_objs_makefile new file mode 100644 index 00000000000..24a73f13104 --- /dev/null +++ b/lang/smlnj/patches/patch-src_runtime_objs_makefile @@ -0,0 +1,12 @@ +$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