Permalink
Browse files

Disable PIE

Compiling with -fPIE causes a segfault in (non-PIE) liboemcamera.so
when the front camera is opened. For now, disable PIE globally..
  • Loading branch information...
1 parent 404d113 commit 5f92e077fe970955f5848d6eae904ee9aebbf329 @ius committed Oct 15, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 BoardConfig.mk
View
@@ -63,6 +63,10 @@ TARGET_BOOTANIMATION_TEXTURE_CACHE := true
BOARD_VOLD_MAX_PARTITIONS := 8
+# To avoid a crash in liboemcamera.so
+# when the front camera is opened
+TARGET_DISABLE_ARM_PIE := true
+
#
# Qualcomm stuff
#

0 comments on commit 5f92e07

Please sign in to comment.