Use compiler flags -ffunction-sections, -fdata-sections and gc sections in both jni and core
Summary: Use compiler flags -ffunction-sections, -fdata-sections and -Wl,--gc-sections in both jni and yoga core Reviewed By: amir-shalem Differential Revision: D18029671 fbshipit-source-id: 5192fb6d682248b16781dead0d7b0a0377861fb6
This commit is contained in:
committed by
Facebook Github Bot
parent
8c3ee81d6e
commit
6327893b9b
@@ -54,6 +54,8 @@ BASE_COMPILER_FLAGS = [
|
||||
"-fno-omit-frame-pointer",
|
||||
"-fexceptions",
|
||||
"-fvisibility=hidden",
|
||||
"-ffunction-sections",
|
||||
"-fdata-sections",
|
||||
"-Wall",
|
||||
"-Werror",
|
||||
"-O2",
|
||||
|
Reference in New Issue
Block a user