Skip to content

Commit 84cbd1b

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

4 files changed

Lines changed: 6 additions & 4 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']}"

relenv/buildenv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ def buildenv(relenv_path=None):
5151
"TOOLCHAIN_PATH": f"{toolchain}",
5252
"TRIPLET": f"{triplet}",
5353
"RELENV_PATH": f"{relenv_path}",
54-
"CC": f"{toolchain}/bin/{triplet}-gcc -no-pie",
55-
"CXX": f"{toolchain}/bin/{triplet}-g++ -no-pie",
54+
"CC": f"{toolchain}/bin/{triplet}-gcc",
55+
"CXX": f"{toolchain}/bin/{triplet}-g++",
5656
"CFLAGS": f"-I{relenv_path}/include -I{toolchain}/sysroot/usr/include",
5757
"CXXFLAGS": (
5858
f"-I{relenv_path}/include "

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)