OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
091252d
)
Check compiler presense in SConscript.
author
relan
<relan@users.noreply.github.com>
Wed, 19 Dec 2012 06:19:14 +0000
(06:19 +0000)
committer
relan
<relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:15 +0000
(08:26 +0300)
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index
30e5208
..
8fef6dd
100644
(file)
--- a/
SConstruct
+++ b/
SConstruct
@@
-74,6
+74,12
@@
if not env.GetOption('clean'):
conf.env.Append(CPPPATH = ['/usr/local/include'])
conf.env.Append(LIBPATH = ['/usr/local/lib'])
+ if not conf.CheckCC():
+ print '''
+ A working C compiler is needed very much.
+'''
+ Exit(1)
+
if not conf.CheckTypeSize('off_t', '#include <sys/types.h>', 'C', 8):
print '''
The size of off_t type must be 64 bits. File systems larger than