)
conf_data.set('CHRONO_SAME_DURATION', result.returncode() == 0)
+ENVIRON_SHLIB_FLAGS = []
+result = cpp.links(
+ fs.read('compiler-checks/environ-in-shlib.cc'),
+ name: 'ENVIRON_SHLIB_FLAGS',
+ args: ['--shared', '-fPIC', '-Wl,--no-undefined'],
+)
+if not result
+ ENVIRON_SHLIB_FLAGS += ['b_lundef=false']
+endif
+
result = cpp.run(
fs.read('compiler-checks/have-generic-tls-method.cc'),
name: 'HAVE_GENERIC_TLS_METHOD',
)
conf_data.set('HAVE_STREAM_TRUNCATED_ERROR', result.returncode() == 0)
-ENVIRON_SHLIB_FLAGS = []
-if cpp.has_link_argument('-Wl,--no-undefined')
- result = cpp.links(
- fs.read('compiler-checks/environ-in-shlib.cc'),
- name: 'ENVIRON_SHLIB_FLAGS',
- args: ['--shared', '-fPIC', '-Wl,--no-undefined'],
- )
- if not result
- ENVIRON_SHLIB_FLAGS += ['b_lundef=false']
- endif
-endif
-
#### System-specific Variables
SYSTEM = build_machine.system()
#!/bin/sh
-# Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2014-2025 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
#!/bin/sh
-# Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2014-2025 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
-// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2013-2025 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
#!/bin/sh
-# Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2014-2025 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
#!@PYTHON@
-# Copyright (C) 2017-2024 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2017-2025 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
#!/bin/sh
-# Copyright (C) 2014-2024 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2014-2025 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this