From 10053bc7591f91a2c558c094c733e69fb1c3b24e Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Thu, 20 Aug 2020 16:03:46 -0700 Subject: [PATCH] tst: memfs-fuse3: Makefile: fix build under Cygwin gcc --- tst/memfs-fuse3/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tst/memfs-fuse3/Makefile b/tst/memfs-fuse3/Makefile index 5bbe98b8..90e69286 100644 --- a/tst/memfs-fuse3/Makefile +++ b/tst/memfs-fuse3/Makefile @@ -10,9 +10,9 @@ cygfuse3: memfs-cygfuse3 winfsp-fuse3: memfs-winfsp-fuse3 memfs-cygfuse3: memfs-fuse3.cpp - g++ $^ -o $@ -g -Wall `pkg-config fuse3 --cflags --libs` + g++ $^ -o $@ -g -Wall -std=gnu++17 `pkg-config fuse3 --cflags --libs` memfs-winfsp-fuse3: export PKG_CONFIG_PATH=$(PWD)/winfsp.install/lib memfs-winfsp-fuse3: memfs-fuse3.cpp ln -nsf "`regtool --wow32 get '/HKLM/Software/WinFsp/InstallDir' | cygpath -au -f -`" winfsp.install - g++ $^ -o $@ -g -Wall `pkg-config fuse3 --cflags --libs` + g++ $^ -o $@ -g -Wall -std=gnu++17 `pkg-config fuse3 --cflags --libs`