Skip to content

Commit

Permalink
Make CXX17 the default
Browse files Browse the repository at this point in the history
This matches config of R 4.3 on other platforms.
Fixes r-wasm/webr#347
  • Loading branch information
jeroen committed Jan 15, 2024
1 parent b239075 commit cf6f773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/webr-vars.mk
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ CXX14 = em++
CXX17 = em++
CXX20 = em++
CC = emcc
CXX = em++
CXX = em++ -std=gnu++17
FC = $(EMFC)

CFLAGS = $(WASM_CFLAGS)
CPPFLAGS = $(WASM_CPPFLAGS)
CXXFLAGS = -std=gnu++11 $(WASM_CXXFLAGS)
CXXFLAGS = $(WASM_CXXFLAGS)
CXX98FLAGS = -std=gnu++98 $(WASM_CXXFLAGS)
CXX11FLAGS = -std=gnu++11 $(WASM_CXXFLAGS)
CXX14FLAGS = -std=gnu++14 $(WASM_CXXFLAGS)
Expand Down

0 comments on commit cf6f773

Please sign in to comment.