Skip to content

Commit

Permalink
NC | chaage cflags_cc to work on centos 8
Browse files Browse the repository at this point in the history
Signed-off-by: Romy <35330373+romayalon@users.noreply.github.com>
  • Loading branch information
romayalon committed Jun 10, 2024
1 parent 0f75558 commit 2cb1893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/native/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
'-std=gnu99', # c99 -> gnu99 to allow asm()
],
'cflags_cc': [
'-std=c++20'
'-std=c++2a'
],
'ldflags': [
'-lrt', # librt
Expand Down Expand Up @@ -65,7 +65,7 @@
# Reference - http://help.apple.com/xcode/mac/8.0/#/itcaec37c2a6
'MACOSX_DEPLOYMENT_TARGET': '12.4',
'CLANG_CXX_LIBRARY': 'libc++',
'CLANG_CXX_LANGUAGE_STANDARD': 'c++20', # -std=c++20
'CLANG_CXX_LANGUAGE_STANDARD': 'c++2a', # -std=c++2a
'GCC_C_LANGUAGE_STANDARD': 'c99', # -std=c99
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
},
Expand Down

0 comments on commit 2cb1893

Please sign in to comment.