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:
cb71c99
)
Add default compiler flags for clang.
author
relan
<relan@users.noreply.github.com>
Sun, 29 Jan 2012 08:50:52 +0000
(08:50 +0000)
committer
relan
<relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:14 +0000
(08:26 +0300)
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index
6f43128
..
66ba063
100644
(file)
--- a/
SConstruct
+++ b/
SConstruct
@@
-36,6
+36,8
@@
if 'CCFLAGS' in os.environ:
if not conf.env['CCFLAGS']:
if conf.env['CC'] == 'gcc':
conf.env.Replace(CCFLAGS = '-Wall -O2 -ggdb')
+ elif conf.env['CC'] == 'clang':
+ conf.env.Replace(CCFLAGS = '-Wall -O2 -g')
conf.env.Append(CPPDEFINES = {'FUSE_USE_VERSION': 26})
conf.env.Append(CPPDEFINES = {'_FILE_OFFSET_BITS' : 64})
# __DARWIN_64_BIT_INO_T=0 define is needed because since Snow Leopard inode