Skip to content

Commit

Permalink
Fix ccflags.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjrv committed Dec 27, 2016
1 parent 992799e commit 9dd9f27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/nbind.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"product_name": "nbind.js",
"type": "executable",
"sources": [ "em/Binding.cc" ],
"cflags_cc": [ "<@(_cflags)" ],
"ldflags": [ "<@(_cflags)" ],

"copies": [{"destination": "<(INTERMEDIATE_DIR)", "files": ["pre.js", "post.js", "../dist/em-api.js"]}],
Expand All @@ -46,6 +45,7 @@
"xcode_settings": {
"GCC_GENERATE_DEBUGGING_SYMBOLS": "NO",
"OTHER_CFLAGS": [ "<@(_cflags)" ],
"OTHER_CPLUSPLUSFLAGS": [ "<@(_cflags_cc)" ],
"OTHER_LDFLAGS": [ "<@(_cflags)" ]
}

Expand Down Expand Up @@ -77,12 +77,12 @@
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"CLANG_CXX_LANGUAGE_STANDARD": "c++11",
"MACOSX_DEPLOYMENT_TARGET": "10.7",
"OTHER_CFLAGS": [ "<@(_cflags)" ],
"OTHER_CPLUSPLUSFLAGS": [
"-O3",
"-std=c++11",
"<@(_cflags_cc)",
"-stdlib=libc++"
],
"OTHER_LDFLAGS": ["-stdlib=libc++"]
"OTHER_LDFLAGS": [ "-stdlib=libc++" ]
}

}]
Expand Down

0 comments on commit 9dd9f27

Please sign in to comment.