Skip to content

Commit 7d61143

Browse files
committed
[archs] Add -fPIC to CFLAGS for Arch x86_64
Since, at this point, we know that we need to add the mentioned flags at some point, let's be brave and try to add it at Arch level (since we need `-fPIC` for `ArchARMv7_a` it may be also the case for `Archx86_64`) See also: #2073 (comment)
1 parent 05ccb3a commit 7d61143

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pythonforandroid/archs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ class Archx86_64(Arch):
289289
'-mpopcnt',
290290
'-m64',
291291
'-mtune=intel',
292+
'-fPIC',
292293
]
293294

294295

0 commit comments

Comments
 (0)