Skip to content

Commit

Permalink
🐛 Add -fPIC to CFLAGS for Arch x86_64 (#2085)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
opacam authored Mar 14, 2020
1 parent 9d5ebb6 commit 22eb6c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pythonforandroid/archs.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ class Archx86_64(Arch):
'-mpopcnt',
'-m64',
'-mtune=intel',
'-fPIC',
]


Expand Down

0 comments on commit 22eb6c9

Please sign in to comment.