aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'configs/pine64/env/no-lto.conf')
-rw-r--r--configs/pine64/env/no-lto.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/pine64/env/no-lto.conf b/configs/pine64/env/no-lto.conf
new file mode 100644
index 0000000..bdc5383
--- /dev/null
+++ b/configs/pine64/env/no-lto.conf
@@ -0,0 +1,3 @@
+CFLAGS="${CFLAGS} -fno-lto -fno-use-linker-plugin -fwhole-program"
+CXXFLAGS="${CXXFLAGS} -fno-lto -fno-use-linker-plugin -fwhole-program"
+LDFLAGS="${LDFLAGS} -fno-lto -fno-use-linker-plugin -fwhole-program"