Skip to content

Commit 4012392

Browse files
committed
Merge pull request #109786 from Repiteo/scons/metal-gnu++20
SCons: Use gnu++20 in metal driver
2 parents fc245d6 + 5cd785d commit 4012392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/metal/SCsub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ env_metal.drivers_sources += thirdparty_obj
3636
# Enable C++20 for the Objective-C++ Metal code, which uses C++20 concepts.
3737
if "-std=gnu++17" in env_metal["CXXFLAGS"]:
3838
env_metal["CXXFLAGS"].remove("-std=gnu++17")
39-
env_metal.Append(CXXFLAGS=["-std=c++20"])
39+
env_metal.Append(CXXFLAGS=["-std=gnu++20"])
4040

4141
# Enable module support
4242
env_metal.Append(CCFLAGS=["-fmodules", "-fcxx-modules"])

0 commit comments

Comments
 (0)