projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c5b3adc
)
Use more portable construct for setting/checking CC
author
Jens Axboe
<axboe@kernel.dk>
Thu, 8 Nov 2012 20:46:03 +0000
(21:46 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 8 Nov 2012 20:46:03 +0000
(21:46 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 7e877fe447e562e7d77d0afecc1a90a2bdec4477..bffa7583cc0a83d78b2dd3930587b23c639c15f5 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,6
@@
-CC ?= gcc
+ifeq ($(CC),)
+CC = gcc
+endif
DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG
CPPFLAGS= -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
$(DEBUGFLAGS)