]> Kevux Git Server - control/commitdiff
Update: Utilize -pipe in default build flags.
authorKevin Day <Kevin@kevux.org>
Sun, 10 May 2026 15:32:37 +0000 (10:32 -0500)
committerKevin Day <Kevin@kevux.org>
Sun, 10 May 2026 15:32:37 +0000 (10:32 -0500)
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
data/build/settings.control
data/build/stand_alone/settings.control

index 58d1d1f..bf5d1a4 100644 (file)
@@ -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
index b5daee0..3da3db7 100644 (file)
@@ -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
index 5715909..b9f0616 100644 (file)
@@ -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