make the project compile with pcc as well - ploot - simple plotting tools
HTML git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit c385adf172be43bfa1d8e0d2e5fcd6bc8ea2477d
DIR parent 3a13739bbf95aa2caa1b36afa5f685fac0f0f824
HTML Author: Josuah Demangeon <mail@josuah.net>
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(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -1,4 +1,5 @@
-CFLAGS = -Wall -Wextra -Werror -std=c89 -pedantic -D_POSIX_C_SOURCE=200809L
+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