Commit 516283130c9ac421934b3b3bfb369a00f0c14ded

Werner Lemberg 2016-08-28T12:38:25

Clarify usage of FT_CONFIG_OPTION_PIC.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index 88d3630..30f0817 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -522,7 +522,10 @@ FT_BEGIN_HEADER
   /*   code will be used.                                                  */
   /*                                                                       */
   /*   Setting this macro is needed for systems that prohibit address      */
-  /*   fixups, such as BREW.                                               */
+  /*   fixups, such as BREW.  [Note that standard compilers like gcc or    */
+  /*   clang handle PIC generation automatically; you don't have to set    */
+  /*   FT_CONFIG_OPTION_PIC, which is only necessary for very special      */
+  /*   compilers.]                                                         */
   /*                                                                       */
   /*   Note that PIC support is not available for all modules (see         */
   /*   `modules.cfg' for a complete list).  For building with PIC support, */