Permalink
Browse files

hwui: Remove deprecated compiler flag

 * HWUI_COMPILE_FOR_PERF uses the -mapcs flag
   but it has already been deprecated.
 * Remove the flag "-mapcs" completely

Reference:
https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html#ARM-Options

Change-Id: I6f72b0dc37deefbbfb1c99161f9577a9c447a343
  • Loading branch information...
nicknitewolf authored and xlxfoxxlx committed Feb 18, 2017
1 parent 94c2e38 commit 8907e6fe5124cf733b53ae50c16bae36c1872f90
Showing with 1 addition and 1 deletion.
  1. +1 −1 libs/hwui/Android.mk
View
@@ -149,7 +149,7 @@ endif
ifdef HWUI_COMPILE_FOR_PERF
# TODO: Non-arm?
hwui_cflags += -fno-omit-frame-pointer -marm -mapcs
hwui_cflags += -fno-omit-frame-pointer -marm
endif
# This has to be lazy-resolved because it depends on the LOCAL_MODULE_CLASS

0 comments on commit 8907e6f

Please sign in to comment.