Move -fPIC into YOGA_DEFS
Summary: Move -fPIC from BUCK to YOGA_DEFS, so that it can be overridden when building yoga inside another build tree (since the larger build tree may need its own configuration for -fPIC). No change when building yoga standalone. Reviewed By: emilsjolander Differential Revision: D4714782 fbshipit-source-id: c706336cda72b36045e744e4fcaea4c0899bcf38
This commit is contained in:
committed by
Facebook Github Bot
parent
a14aeb27bb
commit
62a74a5ef9
3
BUCK
3
BUCK
@@ -12,9 +12,8 @@ GMOCK_OVERRIDE_FLAGS = [
|
|||||||
"-Wno-inconsistent-missing-override",
|
"-Wno-inconsistent-missing-override",
|
||||||
]
|
]
|
||||||
|
|
||||||
COMPILER_FLAGS = BASE_COMPILER_FLAGS + [
|
COMPILER_FLAGS = LIBRARY_COMPILER_FLAGS + [
|
||||||
"-std=c11",
|
"-std=c11",
|
||||||
"-fPIC",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
TEST_COMPILER_FLAGS = BASE_COMPILER_FLAGS + GMOCK_OVERRIDE_FLAGS + ["-std=c++11"]
|
TEST_COMPILER_FLAGS = BASE_COMPILER_FLAGS + GMOCK_OVERRIDE_FLAGS + ["-std=c++11"]
|
||||||
|
Reference in New Issue
Block a user