summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGaurav Shah <gauravsh@google.com>2010-02-17 14:19:24 -0800
committerGaurav Shah <gauravsh@google.com>2010-02-17 14:19:24 -0800
commit27bfc8be07935ccb0dab251c5d084c64830163c2 (patch)
tree1fc9e667b5e50004e1e0363d3a5f6a74d6427ab4 /Makefile
parent7ca31f3e4d21bb7dfa39e1e4b9ab42c7047e66d8 (diff)
downloadvboot-27bfc8be07935ccb0dab251c5d084c64830163c2.tar.gz
Vboot Reference: Conditionally set Makefile CC variable so that it cross-compiles.
Review URL: http://codereview.chromium.org/629003
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 96798fdb..4f761135 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-export CC = gcc
+export CC ?= gcc
export CFLAGS = -Wall -ansi -DNDEBUG
export TOP = $(shell pwd)
export INCLUDEDIR = $(TOP)/include