projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
122d4b1
)
Makefile: 2nd go at making CC assignment/check actually work
author
Jens Axboe
<axboe@kernel.dk>
Thu, 8 Nov 2012 20:56:05 +0000
(21:56 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 8 Nov 2012 20:56:05 +0000
(21:56 +0100)
This time tested!
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index bffa7583cc0a83d78b2dd3930587b23c639c15f5..0db757b0b5fd877ff77d75c073b0688dc4ca45a4 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,4
@@
-if
eq ($(CC),
)
+if
neq ($(origin CC), environment
)
CC = gcc
endif
DEBUGFLAGS = -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG