aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-09-21 13:28:51 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-09-21 13:30:05 +0200
commitd110fdd03f8860b2a1cd689187f8056b9e22af09 (patch)
tree4f298191948db0ca9317291fcce5a810f0cbcb96
parentfd721f06f5ed630bb8362213c0990d79d2b87dd7 (diff)
Disable precompiled headers in 'nix develop'
They're still enabled in regular builds though.
-rw-r--r--flake.nix5
-rw-r--r--mk/precompiled-headers.mk2
2 files changed, 2 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index 1b9eb4c77..0304557e8 100644
--- a/flake.nix
+++ b/flake.nix
@@ -136,7 +136,7 @@
enableParallelBuilding = true;
- makeFlags = "profiledir=$(out)/etc/profile.d";
+ makeFlags = "profiledir=$(out)/etc/profile.d PRECOMPILE_HEADERS=1";
doCheck = true;
@@ -334,9 +334,6 @@
# syntax-check generated dot files, it still requires some
# fonts. So provide those.
FONTCONFIG_FILE = texFunctions.fontsConf;
-
- # To test building without precompiled headers.
- makeFlagsArray = [ "PRECOMPILE_HEADERS=0" ];
};
# System tests.
diff --git a/mk/precompiled-headers.mk b/mk/precompiled-headers.mk
index 500c99e4a..1fdb4b3a4 100644
--- a/mk/precompiled-headers.mk
+++ b/mk/precompiled-headers.mk
@@ -1,4 +1,4 @@
-PRECOMPILE_HEADERS ?= 1
+PRECOMPILE_HEADERS ?= 0
print-var-help += \
echo " PRECOMPILE_HEADERS ($(PRECOMPILE_HEADERS)): Whether to use precompiled headers to speed up the build";