Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3077)

Unified Diff: src/trusted/service_runtime/linux/nacl_bootstrap.gyp

Issue 11234020: Linux: build with clang out-of-the-box, without need (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/linux/nacl_bootstrap.gyp
===================================================================
--- src/trusted/service_runtime/linux/nacl_bootstrap.gyp (revision 10041)
+++ src/trusted/service_runtime/linux/nacl_bootstrap.gyp (working copy)
@@ -66,6 +66,9 @@
'nacl_bootstrap.c',
],
'cflags': [
+ # Prevent llvm-opt from replacing my_bzero with a call
+ # to memset.
+ '-fno-builtin',
# The tiny standalone bootstrap program is incompatible with
# -fstack-protector, which might be on by default. That switch
# requires using the standard libc startup code, which we do not.
@@ -95,11 +98,6 @@
'conditions': [
['clang==1', {
'cflags': [
- # Prevent llvm-opt from replacing my_bzero with a call
- # to memset
- '-ffreestanding',
- # But make its <limits.h> still work!
- '-U__STDC_HOSTED__', '-D__STDC_HOSTED__=1',
# TODO(bbudge) Remove this when Clang supports -fno-pic.
'-Qunused-arguments',
],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698