Skip to content

Commit f201467

Browse files
committed
No longer include -no-pie
1 parent c92800d commit f201467

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
-static-libstdc++
1414
* Clean up duplicate options in sysconfig data.
1515
* Work with setuptools >= 72.2.0
16+
* Default to positition indipendent code gen
1617

1718

1819
0.18.1

relenv/build/linux.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ def populate_env(env, dirs):
3535
:type dirs: ``relenv.build.common.Dirs``
3636
"""
3737
# CC and CXX need to be to have the full path to the executable
38-
env["CC"] = f"{dirs.toolchain}/bin/{env['RELENV_HOST']}-gcc -no-pie"
39-
env["CXX"] = f"{dirs.toolchain}/bin/{env['RELENV_HOST']}-g++ -no-pie"
38+
env["CC"] = f"{dirs.toolchain}/bin/{env['RELENV_HOST']}-gcc"
39+
env["CXX"] = f"{dirs.toolchain}/bin/{env['RELENV_HOST']}-g++"
4040
# Add our toolchain binaries to the path. We also add the bin directory of
4141
# our prefix so that libtirpc can find krb5-config
4242
env["PATH"] = f"{dirs.toolchain}/bin/:{dirs.prefix}/bin/:{env['PATH']}"

tests/test_verify_build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ def test_pip_install_m2crypto_system_ssl(pipexec, pyexec):
578578
"m2crypto_version",
579579
[
580580
"0.38.0",
581+
"0.44.0",
581582
],
582583
)
583584
def test_pip_install_m2crypto_relenv_ssl(

0 commit comments

Comments
 (0)