diff options
author | Michal Klocek <michal.klocek@qt.io> | 2017-11-27 20:09:12 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-10-04 10:20:49 +0200 |
commit | a13b3b6331f2e8c972b4f6474a3b69b8da7d916f (patch) | |
tree | 755f69fcd945e3b996c844902132012f0fc1d9ad | |
parent | 6759034dcde9e062c9be12283439149b607f2c8f (diff) | |
download | qtwebengine-chromium-a13b3b6331f2e8c972b4f6474a3b69b8da7d916f.tar.gz |
Do not pick up CFLAGS,CXXFLAGS,LDFLAGS for gn bootstrap
Task-number: QTBUG-64759
Change-Id: Ifd366e496ce08365f63216943f93864fc285b8b0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-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)), '.', |