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

Side by Side Diff: tools/Makefile

Issue 137843003: Don't pass -D_I386MACH_ALLOW_HW_INTERRUPTS explicitly in newlib build (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « toolchain_build/toolchain_build.py ('k') | tools/REVISIONS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 ############################################################################## 5 ##############################################################################
6 # Helper script for NaCl toolchain development workflow. 6 # Helper script for NaCl toolchain development workflow.
7 # 7 #
8 # Buildbots: 8 # Buildbots:
9 # - Sync needed sources at pinned revision and build newlib-based toolchain: 9 # - Sync needed sources at pinned revision and build newlib-based toolchain:
10 # make buildbot-build-with-newlib TOOLCHAINLOC=<where-to-install-the-toolcha in> 10 # make buildbot-build-with-newlib TOOLCHAINLOC=<where-to-install-the-toolcha in>
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 touch $@ 550 touch $@
551 551
552 552
553 ################################################################## 553 ##################################################################
554 # newlib: 554 # newlib:
555 # Builds the bare-bones library used by NativeClient applications. 555 # Builds the bare-bones library used by NativeClient applications.
556 # NOTE: removes the default pthread.h to enable correct install 556 # NOTE: removes the default pthread.h to enable correct install
557 # by the Native Client threads package build. 557 # by the Native Client threads package build.
558 ################################################################## 558 ##################################################################
559 559
560 NEWLIB_CFLAGS = -O2 -D_I386MACH_ALLOW_HW_INTERRUPTS -mtls-use-call 560 NEWLIB_CFLAGS = -O2 -mtls-use-call
561 561
562 BUILD/stamp-$(CROSSARCH)-newlib: | SRC/newlib BUILD newlib-libc-script 562 BUILD/stamp-$(CROSSARCH)-newlib: | SRC/newlib BUILD newlib-libc-script
563 rm -rf BUILD/build-newlib-$(CROSSARCH) 563 rm -rf BUILD/build-newlib-$(CROSSARCH)
564 mkdir BUILD/build-newlib-$(CROSSARCH) 564 mkdir BUILD/build-newlib-$(CROSSARCH)
565 PATH=$(BUILDPATH) && export PATH && \ 565 PATH=$(BUILDPATH) && export PATH && \
566 cd BUILD/build-newlib-$(CROSSARCH) && \ 566 cd BUILD/build-newlib-$(CROSSARCH) && \
567 ../../SRC/newlib/configure \ 567 ../../SRC/newlib/configure \
568 --disable-libgloss \ 568 --disable-libgloss \
569 --enable-newlib-iconv \ 569 --enable-newlib-iconv \
570 --enable-newlib-iconv-from-encodings=UTF-8,UTF-16LE,UCS-4L E,UTF-16,UCS-4 \ 570 --enable-newlib-iconv-from-encodings=UTF-8,UTF-16LE,UCS-4L E,UTF-16,UCS-4 \
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 1116
1117 1117
1118 ################################################################## 1118 ##################################################################
1119 # Remove the BUILD directory. 1119 # Remove the BUILD directory.
1120 # Library builds are maintained by scons. 1120 # Library builds are maintained by scons.
1121 ################################################################## 1121 ##################################################################
1122 1122
1123 .PHONY: clean 1123 .PHONY: clean
1124 clean: 1124 clean:
1125 rm -rf BUILD/* 1125 rm -rf BUILD/*
OLDNEW
« no previous file with comments | « toolchain_build/toolchain_build.py ('k') | tools/REVISIONS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698