Skip to content

Commit 65032b1

Browse files
mshinwellpoechsel
authored andcommitted
flambda-backend: To upstream: use nolabels attribute instead of -nolabels for otherlibs/unix/
1 parent f533fad commit 65032b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

otherlibs/unix/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
LIBNAME=unix
1919

20-
EXTRACAMLFLAGS=-nolabels
21-
2220
unixLabels.cmi: \
2321
EXTRACAMLFLAGS += -pp "$(AWK) -f $(ROOTDIR)/stdlib/expand_module_aliases.awk"
2422

otherlibs/unix/unixLabels.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@
1515

1616
(* Module [UnixLabels]: labelled Unix module *)
1717

18+
[@@@ocaml.nolabels]
19+
1820
include Unix

0 commit comments

Comments
 (0)