diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2021-11-03 17:48:38 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-11-03 17:48:58 +0100 |
commit | 8729baea03c1267feb19fcea810489c836460483 (patch) | |
tree | 24fbf9e8b62c31dd56c029dabf1bdecb9d7c9226 /dev-util/gn/files | |
parent | app-text/gv: keyword ~arm64 (diff) | |
download | gentoo-8729baea03c1267feb19fcea810489c836460483.tar.gz gentoo-8729baea03c1267feb19fcea810489c836460483.tar.bz2 gentoo-8729baea03c1267feb19fcea810489c836460483.zip |
dev-util/gn: bump to 0.1942
Bug: https://bugs.gentoo.org/821400
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'dev-util/gn/files')
-rw-r--r-- | dev-util/gn/files/gn-gen-r5.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/gn/files/gn-gen-r5.patch b/dev-util/gn/files/gn-gen-r5.patch new file mode 100644 index 000000000000..80966b3c7f5e --- /dev/null +++ b/dev-util/gn/files/gn-gen-r5.patch @@ -0,0 +1,46 @@ +From ef45f2e73264e62ad3fb24d064453a17099da8d7 Mon Sep 17 00:00:00 2001 +From: Mike Gilbert <floppym@gentoo.org> +Date: Sat, 14 Mar 2020 18:02:51 +0000 +Subject: [PATCH] Remove unwanted cflags/ldflags parameters + +--- + build/gen.py | 9 --------- + 1 file changed, 9 deletions(-) + +diff --git a/build/gen.py b/build/gen.py +index 265b1f5..06c6d8b 100755 +--- a/build/gen.py ++++ b/build/gen.py +@@ -343,11 +343,6 @@ def WriteGNNinja(path, platform, host, options): + if options.debug: + cflags.extend(['-O0', '-g']) + else: +- cflags.append('-DNDEBUG') +- cflags.append('-O3') +- if options.no_strip: +- cflags.append('-g') +- ldflags.append('-O3') + # Use -fdata-sections and -ffunction-sections to place each function + # or data item into its own section so --gc-sections can eliminate any + # unused functions and data items. +@@ -383,7 +378,6 @@ def WriteGNNinja(path, platform, host, options): + '-D_FILE_OFFSET_BITS=64', + '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS', + '-pthread', +- '-pipe', + '-fno-exceptions', + '-fno-rtti', + '-fdiagnostics-color', +@@ -411,9 +405,6 @@ def WriteGNNinja(path, platform, host, options): + '-Wno-cast-function-type', # Casting FARPROC to RegDeleteKeyExPtr + '-std=gnu++17', + ]) +- else: +- # This is needed by libc++. +- libs.append('-ldl') + elif platform.is_darwin(): + min_mac_version_flag = '-mmacosx-version-min=10.9' + cflags.append(min_mac_version_flag) +-- +2.32.0 + |