ext/tomoto/extconf.rb in tomoto-0.2.2 vs ext/tomoto/extconf.rb in tomoto-0.2.3
- old
+ new
@@ -1,9 +1,7 @@
require "mkmf-rice"
-abort "Missing stdc++" unless have_library("stdc++")
-
-$CXXFLAGS += " -std=c++14 -DEIGEN_MPL2_ONLY"
+$CXXFLAGS += " -std=c++17 $(optflags) -DEIGEN_MPL2_ONLY"
$CXXFLAGS += " -march=native"
apple_clang = RbConfig::CONFIG["CC_VERSION_MESSAGE"] =~ /apple clang/i