diff --git a/libc3/configure b/libc3/configure
index 59c6d08..34f5b98 100755
--- a/libc3/configure
+++ b/libc3/configure
@@ -37,7 +37,7 @@ OBJECTS_DEBUG="$(c2ext .debug.lo "$LO_SOURCES")"
# Common config for all targets
CPPFLAGS="-I../libffi/include $CPPFLAGS"
-CFLAGS="$CFLAGS -W -Wall -Werror -std=c99 -pedantic -fPIC"
+CFLAGS="$CFLAGS -W -Wall -Werror -std=c99 -pedantic"
LDFLAGS="--shared ${LDFLAGS}"
LIBS="${LIBS} -lm -pthread -rpath ${PREFIX}/lib"
config_asan
diff --git a/libc3/window/sdl2/demo/configure b/libc3/window/sdl2/demo/configure
index 030b5e6..f6ed10f 100755
--- a/libc3/window/sdl2/demo/configure
+++ b/libc3/window/sdl2/demo/configure
@@ -77,7 +77,7 @@ LOCAL_LIBS_DEBUG="../../../libc3_debug.la ../../libc3_window_debug.la ../libc3_w
LIBS_DEBUG="$LOCAL_LIBS_DEBUG $LIBS"
# Main config
-DEFAULT_CFLAGS="-O2 -pipe -fPIC"
+DEFAULT_CFLAGS="-O2 -pipe"
if [ "x$ENV_CFLAGS" = "x" ]; then
CFLAGS="$CFLAGS $DEFAULT_CFLAGS"
fi
diff --git a/libtommath b/libtommath
index 1012230..8017a0b 160000
--- a/libtommath
+++ b/libtommath
@@ -1 +1 @@
-Subproject commit 10122309f4d721ad39716c29bc7c5ec9fe22be6e
+Subproject commit 8017a0b35272558ae2afb22db6e80b08892ab9e6