diff --git a/build/toolchain.gypi b/build/toolchain.gypi index 6847c87177..4e30d8cf69 100644 --- a/build/toolchain.gypi +++ b/build/toolchain.gypi @@ -1160,15 +1160,12 @@ '-O2', '-O1', '-Os', - '-qinline=:::300', ], - 'conditions': [ - ['OS!="os390"', { - 'cflags': [ - '-fdata-sections', - '-ffunction-sections', - ], - }], + }], + ['OS!="os390"', { + 'cflags': [ + '-fdata-sections', + '-ffunction-sections', ], }], ['OS=="mac"', { @@ -1359,6 +1356,11 @@ }], ], }], + ['OS=="os390"', { + 'cflags': [ + '-qinline=:::300', + ], + }], ['OS=="android"', { 'cflags!': [ '-O3',