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

Side by Side Diff: Makefile.standalone

Issue 883983002: Add -pedantic to Makefile.standalone to match production. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix the ICE_CACHELINE_BOUNDARY implementation. Created 5 years, 10 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
« no previous file with comments | « no previous file | src/IceDefs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # The following variables will likely need to be modified, depending on where 1 # The following variables will likely need to be modified, depending on where
2 # and how you built LLVM & Clang. They can be overridden in a command-line 2 # and how you built LLVM & Clang. They can be overridden in a command-line
3 # invocation of make, like: 3 # invocation of make, like:
4 # 4 #
5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> \ 5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> \
6 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> ... 6 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> ...
7 # 7 #
8 8
9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This 9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This
10 # directory should contain the configure script, the include/ and lib/ 10 # directory should contain the configure script, the include/ and lib/
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 LLVM_LDFLAGS := `$(LLVM_BIN_PATH)/llvm-config --libs` \ 85 LLVM_LDFLAGS := `$(LLVM_BIN_PATH)/llvm-config --libs` \
86 `$(LLVM_BIN_PATH)/llvm-config --ldflags` \ 86 `$(LLVM_BIN_PATH)/llvm-config --ldflags` \
87 `$(LLVM_BIN_PATH)/llvm-config --system-libs` 87 `$(LLVM_BIN_PATH)/llvm-config --system-libs`
88 88
89 # It's recommended that CXX matches the compiler you used to build LLVM itself. 89 # It's recommended that CXX matches the compiler you used to build LLVM itself.
90 CCACHE := `command -v ccache` 90 CCACHE := `command -v ccache`
91 CXX := CCACHE_CPP2=yes $(CCACHE) $(CLANG_PATH)/clang++ 91 CXX := CCACHE_CPP2=yes $(CCACHE) $(CLANG_PATH)/clang++
92 92
93 CXXFLAGS := $(LLVM_CXXFLAGS) -std=c++11 -Wall -Wextra -Werror -fno-rtti \ 93 CXXFLAGS := $(LLVM_CXXFLAGS) -std=c++11 -Wall -Wextra -Werror -fno-rtti \
94 -fno-exceptions $(OPTLEVEL) $(ASSERTIONS) $(CXX_DEFINES) -g \ 94 -fno-exceptions $(OPTLEVEL) $(ASSERTIONS) $(CXX_DEFINES) -g \
95 » $(HOST_FLAGS) -Wno-error=unused-parameter \ 95 » $(HOST_FLAGS) -pedantic -Wno-error=unused-parameter \
96 -I$(LIBCXX_INSTALL_PATH)/include/c++/v1 $(CXX_EXTRA) 96 -I$(LIBCXX_INSTALL_PATH)/include/c++/v1 $(CXX_EXTRA)
97 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ 97 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \
98 $(LD_EXTRA) 98 $(LD_EXTRA)
99 99
100 SRCS = \ 100 SRCS = \
101 assembler.cpp \ 101 assembler.cpp \
102 assembler_ia32.cpp \ 102 assembler_ia32.cpp \
103 IceCfg.cpp \ 103 IceCfg.cpp \
104 IceCfgNode.cpp \ 104 IceCfgNode.cpp \
105 IceELFObjectWriter.cpp \ 105 IceELFObjectWriter.cpp \
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 git diff -U0 `git merge-base HEAD master` | \ 208 git diff -U0 `git merge-base HEAD master` | \
209 PATH=$(LLVM_BIN_PATH):$(PATH) \ 209 PATH=$(LLVM_BIN_PATH):$(PATH) \
210 $(LLVM_SRC_PATH)/../clang/tools/clang-format/clang-format-diff.py \ 210 $(LLVM_SRC_PATH)/../clang/tools/clang-format/clang-format-diff.py \
211 -p1 -style=LLVM -i 211 -p1 -style=LLVM -i
212 212
213 clean: 213 clean:
214 rm -rf llvm2ice *.o $(OBJDIR) 214 rm -rf llvm2ice *.o $(OBJDIR)
215 215
216 clean-all: clean 216 clean-all: clean
217 rm -rf build/ 217 rm -rf build/
OLDNEW
« no previous file with comments | « no previous file | src/IceDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698