Skip to content

Commit

Permalink
Compile libuv with -std=gnu11 on Windows
Browse files Browse the repository at this point in the history
Do get rid of the -Wpedantic warnings on CRAN.
  • Loading branch information
gaborcsardi committed Feb 6, 2023
1 parent d1602fd commit d9512fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $(SHLIB): $(LIBUV)/libuv.a

$(LIBUV)/libuv.a:
$(MAKE) --directory=$(LIBUV) -f Makefile.mingw \
CC="$(CC)" CFLAGS="$(CFLAGS) $(LIBUV_CFLAGS) $(CPICFLAGS) $(C_VISIBILITY)" AR="$(AR)" RANLIB="$(RANLIB)" \
CC="$(CC)" CFLAGS="$(CFLAGS) $(LIBUV_CFLAGS) $(CPICFLAGS) $(C_VISIBILITY) -std=gnu11" AR="$(AR)" RANLIB="$(RANLIB)" \
HAVE_DTRACE=0

.PHONY: shlib-clean clean
Expand Down

0 comments on commit d9512fe

Please sign in to comment.