diff options
author | jan Iversen <jani@documentfoundation.org> | 2017-02-02 20:27:50 +0100 |
---|---|---|
committer | jan Iversen <jani@documentfoundation.org> | 2017-02-02 20:29:05 +0100 |
commit | 8944a4dc98ff4e1028936aa7c287f57183aa9b56 (patch) | |
tree | 131928c50365e607c039059f97961eef7416577e /bin | |
parent | 23f7e82c7bafd3af97466761e01667d583db6af8 (diff) |
gbuild-to-ide added -DLIBO_INTERNAL_ONLY to CXXFLAGS
In order to compile correct this flag is needed and
it is not exported in the json files
Change-Id: Ib8f0b882f2d59ed467a9198c148263e2882c60b3
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gbuild-to-ide | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index 0ab45d1c1363..7c6d6600663b 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -123,6 +123,7 @@ class GbuildParser: jsondata['target_name'] = module + '_' + jsontype + '_' + match jsondata['DEFS'] = GbuildParser.__split_defs(jsondata['DEFS']) jsondata['LINKED_LIBS'] = jsondata['LINKED_LIBS'].strip().split(' ') + jsondata['CXXFLAGS'] += ' -DLIBO_INTERNAL_ONLY' for i in ['CXXFLAGS', 'CFLAGS', 'OBJCFLAGS', 'OBJCXXFLAGS']: jsondata[i] = GbuildParser.__split_flags(jsondata[i], jsondata[i+'APPEND']) for i in jsonSrc: |