diff --git a/CMakeLists.txt b/CMakeLists.txt index e0c666d..558ba17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,4 +25,5 @@ target_compile_options( -Ofast -g -DNDEBUG + -fPIE ) diff --git a/src/pdf.c b/src/pdf.c index e9de907..85239d3 100644 --- a/src/pdf.c +++ b/src/pdf.c @@ -956,7 +956,7 @@ vAddFontsPDF(diagram_type *pDiag) vFPprintf(pOutFile, "endobj\n"); } - /* The Resources */ + /* The Resources */ vSetLocation(17); vFPprintf(pOutFile, "17 0 obj\n"); vFPprintf(pOutFile, "<<\n");