Chromium Code Reviews| Index: build/config/android/BUILD.gn |
| diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn |
| index 0514b43e73b308e967227404bad6e1cccb44822f..62c846c27d9d81240db5dd806af145ef8dde1a3a 100644 |
| --- a/build/config/android/BUILD.gn |
| +++ b/build/config/android/BUILD.gn |
| @@ -115,6 +115,8 @@ config("compiler") { |
| abi_target, |
| ] |
| } |
| + |
| + asmflags = cflags |
|
brettw
2015/09/28 19:44:52
A comment here might be helpful for future generat
Bons
2015/09/28 20:15:39
Done.
|
| } |
| # This is included by reference in the //build/config/compiler:runtime_library |
| @@ -194,6 +196,7 @@ config("runtime_library") { |
| config("sdk") { |
| if (sysroot != "") { |
| cflags = [ "--sysroot=" + sysroot ] |
| + asmflags = [ "--sysroot=" + sysroot ] |
| ldflags = [ "--sysroot=" + sysroot ] |
| # Need to get some linker flags out of the sysroot. |
| @@ -209,6 +212,7 @@ config("sdk") { |
| config("executable_config") { |
| cflags = [ "-fPIE" ] |
| + asmflags = [ "-fPIE" ] |
| ldflags = [ "-pie" ] |
| } |