make the project compile with pcc as well - ploot - simple plotting tools | |
git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit c385adf172be43bfa1d8e0d2e5fcd6bc8ea2477d | |
parent 3a13739bbf95aa2caa1b36afa5f685fac0f0f824 | |
Author: Josuah Demangeon <[email protected]> | |
Date: Thu, 10 May 2018 11:54:13 +0200 | |
make the project compile with pcc as well | |
Diffstat: | |
M Makefile | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -1,4 +1,5 @@ | |
-CFLAGS = -Wall -Wextra -Werror -std=c89 -pedantic -D_POSIX_C_SOURCE=200… | |
+CFLAGS = -Wall -Wextra -Werror -std=c89 -pedantic -fPIC \ | |
+ -D_POSIX_C_SOURCE=200809L | |
LDFLAGS = -static | |
PLOOT_SRC = ploot.c ffplot.c ffdraw.c font_14x7.c util.c |