From 44d2fae6d1a83c37d99f84848db901b82221b4c5 Mon Sep 17 00:00:00 2001 From: Leonard Date: Fri, 5 Oct 2018 11:14:05 +0000 Subject: [PATCH] Update chapters/features/small.md --- chapters/features/small.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/features/small.md b/chapters/features/small.md index c5efa5c..d0ed4d3 100644 --- a/chapters/features/small.md +++ b/chapters/features/small.md @@ -4,7 +4,7 @@ There are lots of compiler and linker settings. When you need to add something s The first and most common feature was C++ standards support, which got it's own chapter. -## Platform independent code +## Position independent code [This](https://cmake.org/cmake/help/latest/variable/CMAKE_POSITION_INDEPENDENT_CODE.html) is best known as the `-fPIC` flag. Much of the time, you don't need to do anything. CMake will include the flag for `SHARED` or `MODULE` libraries. If you do explicitly need it: