13 lines
462 B
Diff
13 lines
462 B
Diff
diff --git a/package/flatbuffers/flatbuffers.mk b/package/flatbuffers/flatbuffers.mk
|
|
index 9d286bf9e1..487d85ee1f 100644
|
|
--- a/package/flatbuffers/flatbuffers.mk
|
|
+++ b/package/flatbuffers/flatbuffers.mk
|
|
@@ -14,6 +14,7 @@ FLATBUFFERS_DEPENDENCIES = host-flatbuffers
|
|
|
|
FLATBUFFERS_CONF_OPTS += \
|
|
-DCMAKE_CXX_FLAGS="-std=c++11" \
|
|
+ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
|
-DFLATBUFFERS_BUILD_TESTS=OFF \
|
|
-DFLATBUFFERS_FLATC_EXECUTABLE=$(HOST_DIR)/bin/flatc
|
|
|