提交 30ee56bf 编写于 作者: W wangguibao

Add -fPIC

上级 53b0ee96
...@@ -3,6 +3,13 @@ ...@@ -3,6 +3,13 @@
WORKROOT('../../../../') WORKROOT('../../../../')
ImportConfigsFrom('..') ImportConfigsFrom('..')
#
#Preprocessor flags.
CPPFLAGS(r'-D_GNU_SOURCE -D__STDC_LIMIT_MACROS')
#CPPFLAGS(r'-DVERSION=\"%s\"' % SVN_LAST_CHANGED_REV())
#C++ flags.
CXXFLAGS('-g -O2 -pipe -W -Wall -fPIC -fno-omit-frame-pointer -Wno-deprecated -Wno-unused-parameter -Wno-unused-variable -Wno-unused-local-typedefs -Wno-sign-compare -std=c++11')
INCPATHS('$INC') INCPATHS('$INC')
INCPATHS('$OUT_ROOT/third-64/protobuf/output/include') INCPATHS('$OUT_ROOT/third-64/protobuf/output/include')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册