Skip to content

Commit

Permalink
Update aksetup
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed May 18, 2019
1 parent fe27342 commit 162c568
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aksetup_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,9 @@ def cpp_flag(compiler):
The c++14 is prefered over c++11 (when it is available).
"""
if has_flag(compiler, '-std=c++14'):
if has_flag(compiler, '-std=gnu++14'):
return '-std=gnu++14'
elif has_flag(compiler, '-std=c++14'):
return '-std=c++14'
elif has_flag(compiler, '-std=c++11'):
return '-std=c++11'
Expand Down

0 comments on commit 162c568

Please sign in to comment.