From: Kevin Day Date: Sun, 10 May 2026 15:32:37 +0000 (-0500) Subject: Update: Utilize -pipe in default build flags. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=2afd906d0179a027de0e4e6fff8e822ebe600252;p=control 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`. --- diff --git a/data/build/settings b/data/build/settings index 58d1d1f..bf5d1a4 100644 --- a/data/build/settings +++ b/data/build/settings @@ -80,7 +80,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/settings.control b/data/build/settings.control index b5daee0..3da3db7 100644 --- a/data/build/settings.control +++ b/data/build/settings.control @@ -82,7 +82,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.control b/data/build/stand_alone/settings.control index 5715909..b9f0616 100644 --- a/data/build/stand_alone/settings.control +++ b/data/build/stand_alone/settings.control @@ -111,7 +111,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