--- gem/Makefile.old 2015-03-19 11:05:39.814000000 +0200
+++ gem/Makefile 2015-03-19 11:05:48.276000000 +0200
@@ -1,7 +1,7 @@
GRASS_VERSION_MAJOR=6
GRASS_VERSION_MINOR=4
CC=gcc
-CFLAGS=-g -Wall -pedantic -Werror-implicit-function-declaration -fno-common
+CFLAGS=-g -Wall -pedantic -Werror-implicit-function-declaration -fno-common -fPIC
CLIBS=
SRCS = at_exit_funcs.c \