diff options
-rwxr-xr-x | gn/build/gen.py | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gn/build/gen.py b/gn/build/gen.py index 7319d45416f..d6f6013d798 100755 --- a/gn/build/gen.py +++ b/gn/build/gen.py @@ -311,10 +311,17 @@ def WriteGNNinja(path, platform, host, options): ld = cxx ar = os.environ.get('AR', 'ar') - cflags = os.environ.get('CFLAGS', '').split() - cflags += os.environ.get('CXXFLAGS', '').split() - ldflags = os.environ.get('LDFLAGS', '').split() - libflags = os.environ.get('LIBFLAGS', '').split() + # QTBUG-64759 + # cflags = os.environ.get('CFLAGS', '').split() + # cflags += os.environ.get('CXXFLAGS', '').split() + # ldflags = os.environ.get('LDFLAGS', '').split() + # libflags = os.environ.get('LIBFLAGS', '').split() + + cflags = [] + cflags_cc = [] + ldflags = [] + libflags = [] + include_dirs = [ os.path.relpath(os.path.join(REPO_ROOT, 'src'), os.path.dirname(path)), '.', |