File tree Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,5 @@ class PycryptodomeRecipe(PythonRecipe):
6
6
url = 'https://github.com/Legrandin/pycryptodome/archive/v{version}.tar.gz'
7
7
depends = ['setuptools' , 'cffi' ]
8
8
9
- def get_recipe_env (self , arch = None , with_flags_in_cc = True ):
10
- env = super (PycryptodomeRecipe , self ).get_recipe_env (arch , with_flags_in_cc )
11
- # sets linker to use the correct gcc (cross compiler)
12
- env ['LDSHARED' ] = env ['CC' ] + ' -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions'
13
- return env
14
-
15
9
16
10
recipe = PycryptodomeRecipe ()
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ def get_recipe_env(self, arch):
25
25
env = super (PyLevelDBRecipe , self ).get_recipe_env (arch )
26
26
# Copy environment from leveldb recipe
27
27
env .update (self .get_recipe ('leveldb' , self .ctx ).get_recipe_env (arch ))
28
- # Set linker to use the correct gcc
29
- env ['LDSHARED' ] = env ['CC' ] + ' -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions'
30
28
env ['LDFLAGS' ] += ' -lleveldb'
31
29
return env
32
30
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ class Secp256k1Recipe(PythonRecipe):
19
19
20
20
def get_recipe_env (self , arch = None , with_flags_in_cc = True ):
21
21
env = super (Secp256k1Recipe , self ).get_recipe_env (arch , with_flags_in_cc )
22
- # sets linker to use the correct gcc (cross compiler)
23
- env ['LDSHARED' ] = env ['CC' ] + ' -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions'
24
22
libsecp256k1 = self .get_recipe ('libsecp256k1' , self .ctx )
25
23
libsecp256k1_dir = libsecp256k1 .get_build_dir (arch .arch )
26
24
env ['LDFLAGS' ] += ' -L{}' .format (libsecp256k1_dir )
You can’t perform that action at this time.
0 commit comments