From a13cc2ef4e64bc3f577a8c8a4eb8b7018b969bfc Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 10 May 2026 10:32:14 -0500 Subject: [PATCH] Update: Utilize -pipe in default build flags. This prevents writing to a file system directory, like `/tmp`. Writing to `/tmp` clobbers up that directory, wastes disk I/O, and reduces the life span of drives (like solid state hard drives). Avoid all of this by utilizing the compiler option `-pipe`. --- data/build/settings | 2 +- data/build/stand_alone/settings.firewall | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/build/settings b/data/build/settings index 68a2633..5353509 100644 --- a/data/build/settings +++ b/data/build/settings @@ -88,7 +88,7 @@ defines-pinephone -D_di_f_thread_mutex_priority_ceiling_get_ -D_di_f_thread_mute defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines-threadless -D_di_thread_support_ -flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces +flags -O2 -pipe -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-android -Wno-implicit-function-declaration -Wl,-z,norelro diff --git a/data/build/stand_alone/settings.firewall b/data/build/stand_alone/settings.firewall index 5e83495..467a8ba 100644 --- a/data/build/stand_alone/settings.firewall +++ b/data/build/stand_alone/settings.firewall @@ -124,7 +124,7 @@ defines-pinephone -D_di_f_thread_mutex_priority_ceiling_get_ -D_di_f_thread_mute defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines-threadless -D_di_thread_support_ -flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main +flags -O2 -pipe -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-android -Wno-implicit-function-declaration -Wl,-z,norelro -- 2.52.0