mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 18:07:12 +01:00
Merge pull request #1625 from che2/fix-suncc-pic-flag
Update the pic build flag used for Sun CC
This commit is contained in:
commit
58bb1ae87c
@ -53,7 +53,7 @@ def scc_common_flags(conf):
|
||||
v['cprogram_PATTERN'] = '%s'
|
||||
|
||||
# shared library
|
||||
v['CFLAGS_cshlib'] = ['-Kpic', '-DPIC']
|
||||
v['CFLAGS_cshlib'] = ['-xcode=pic32', '-DPIC']
|
||||
v['LINKFLAGS_cshlib'] = ['-G']
|
||||
v['cshlib_PATTERN'] = 'lib%s.so'
|
||||
|
||||
@ -68,4 +68,3 @@ def configure(conf):
|
||||
conf.cc_load_tools()
|
||||
conf.cc_add_flags()
|
||||
conf.link_add_flags()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user