From c8e510ec65e401832a1a3d8493a20b6b6705f957 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 28 Jul 2021 17:04:21 -0700 Subject: Significantly speed up compilation with GCC Precompiled headers were broken because they weren't compiled with the same -fPIC setting as the rest of the code. Fix by just making everything use -fPIC. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 64e5e23..deebc5b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -92,7 +92,7 @@ VPATH := $(addprefix $(src_dir)/, $(sprojs_enabled)) # These all appear on the command line, from lowest precedence to # highest. -default-CFLAGS := -DPREFIX=\"$(prefix)\" -Wall -Wno-unused -g -O2 +default-CFLAGS := -DPREFIX=\"$(prefix)\" -Wall -Wno-unused -g -O2 -fPIC default-CXXFLAGS := $(default-CFLAGS) -std=c++11 mcppbs-CPPFLAGS := @CPPFLAGS@ -- cgit v1.1