Skip to content

Commit e7ae274

Browse files
committed
Update: Android NDK
1 parent 38501b5 commit e7ae274

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

android/ndk.rst

+3
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ Cross Compile 注意事項
8585
- 只支援 PIE (Position Independent Executables)
8686
+ Jelly Bean 加入 PIE 支援
8787
+ Lollipop 移除 non-PIE 支援
88+
* 編譯時注意 PIC 設定要一致,例如都是用 ``-fPIC`` ,而不是 ``-fpic`` 和 ``-fPIC`` 混雜
89+
- 1: ``-fpic`` ,Small-model
90+
- 2: ``-fPIC`` ,Large-model
8891
* pkg-config 設定
8992

9093

0 commit comments

Comments
 (0)