Index: build/config/nacl/BUILD.gn |
diff --git a/build/config/nacl/BUILD.gn b/build/config/nacl/BUILD.gn |
index 217494fb1ba5aeb1cbe1ddd0d16b31f56dc40dbc..ddd5b4ff262e1087754533a3e81c06426f483215 100644 |
--- a/build/config/nacl/BUILD.gn |
+++ b/build/config/nacl/BUILD.gn |
@@ -16,6 +16,10 @@ config("nacl_defines") { |
} else if (is_win) { |
defines = [ "__STDC_LIMIT_MACROS=1" ] |
} |
+ |
+ if (current_cpu == "pnacl" && !is_nacl_nonsfi) { |
+ defines += [ "NACL_BUILD_ARCH=pnacl" ] |
Roland McGrath
2015/11/18 20:36:58
Looks like this should be NACL_pnacl, not just pna
Petr Hosek
2015/11/18 23:05:33
pnacl is correct in this case, NACL_ARCH macro pre
|
+ } |
} |
config("nexe_defines") { |