mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
Reported by dilfridge w/ x86 build on XFS (which has larger inodes). See
also 280be1cadf.
Bug: https://bugs.gentoo.org/760848
Signed-off-by: Sam James <sam@gentoo.org>
22 lines
934 B
Diff
22 lines
934 B
Diff
Needed for append-lfs-flags to work.
|
|
--- a/configure.py
|
|
+++ b/configure.py
|
|
@@ -261,7 +261,7 @@ configure_args = sys.argv[1:]
|
|
if '--bootstrap' in configure_args:
|
|
configure_args.remove('--bootstrap')
|
|
n.variable('configure_args', ' '.join(configure_args))
|
|
-env_keys = set(['CXX', 'AR', 'CFLAGS', 'CXXFLAGS', 'LDFLAGS'])
|
|
+env_keys = set(['CXX', 'AR', 'CFLAGS', 'CPPFLAGS', 'CXXFLAGS', 'LDFLAGS'])
|
|
configure_env = dict((k, os.environ[k]) for k in os.environ if k in env_keys)
|
|
if configure_env:
|
|
config_str = ' '.join([k + '=' + pipes.quote(configure_env[k])
|
|
@@ -406,6 +406,8 @@ def shell_escape(str):
|
|
if 'CFLAGS' in configure_env:
|
|
cflags.append(configure_env['CFLAGS'])
|
|
ldflags.append(configure_env['CFLAGS'])
|
|
+if 'CPPFLAGS' in configure_env:
|
|
+ cflags.append(configure_env['CPPFLAGS'])
|
|
if 'CXXFLAGS' in configure_env:
|
|
cflags.append(configure_env['CXXFLAGS'])
|
|
ldflags.append(configure_env['CXXFLAGS'])
|