| OLD | NEW |
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 }], | 195 }], |
| 196 ['target_arch=="ia32"', { | 196 ['target_arch=="ia32"', { |
| 197 # The x86 toolchain currently has problems with stack-protector. | 197 # The x86 toolchain currently has problems with stack-protector. |
| 198 'cflags!': [ | 198 'cflags!': [ |
| 199 '-fstack-protector', | 199 '-fstack-protector', |
| 200 ], | 200 ], |
| 201 'cflags': [ | 201 'cflags': [ |
| 202 '-fno-stack-protector', | 202 '-fno-stack-protector', |
| 203 ], | 203 ], |
| 204 }], | 204 }], |
| 205 ['target_arch=="ia32" and atom==1', { |
| 206 # No-pic for atom |
| 207 'cflags': [ |
| 208 '-fno-pic', |
| 209 ], |
| 210 }], |
| 205 ['target_arch=="mipsel"', { | 211 ['target_arch=="mipsel"', { |
| 206 # The mips toolchain currently has problems with stack-protector. | 212 # The mips toolchain currently has problems with stack-protector. |
| 207 'cflags!': [ | 213 'cflags!': [ |
| 208 '-fstack-protector', | 214 '-fstack-protector', |
| 209 '-U__linux__' | 215 '-U__linux__' |
| 210 ], | 216 ], |
| 211 'cflags': [ | 217 'cflags': [ |
| 212 '-fno-stack-protector', | 218 '-fno-stack-protector', |
| 213 ], | 219 ], |
| 214 }], | 220 }], |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 'ldflags!': [ | 256 'ldflags!': [ |
| 251 '-Wl,-z,noexecstack', | 257 '-Wl,-z,noexecstack', |
| 252 '-Wl,--gc-sections', | 258 '-Wl,--gc-sections', |
| 253 '-Wl,-O1', | 259 '-Wl,-O1', |
| 254 '-Wl,--as-needed', | 260 '-Wl,--as-needed', |
| 255 ], | 261 ], |
| 256 }], | 262 }], |
| 257 ], # target_conditions | 263 ], # target_conditions |
| 258 }, # target_defaults | 264 }, # target_defaults |
| 259 } | 265 } |
| OLD | NEW |