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

index 2f9534b81ec2c8a2b50d16465f59e3b678321373..be79fc82eb44b84a9171502ecc24c4f8ecd84887 100644 (file)
@@ -120,7 +120,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 db0d16ed4788469fe8320870e1ac82f87c91396a..63ca922e3fa1b48341159d089f83089c528c9d0b 100644 (file)
@@ -84,7 +84,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 47894407f5cc25ee77104d6baee70d1115fc3cd8..f7327c0854b5085ded2d3d835953d671bc6a85f7 100644 (file)
@@ -84,7 +84,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 3e7c63001e516f639d128d58a0319867ea49d893..a222783d64f40392506e68bd59991ae22ab1a805 100644 (file)
@@ -150,7 +150,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 0e2b2452051df67fdbb0d1d192c9accf103b66a2..f877d270e03497ea9d9c68643cd2b3eb64c7fb25 100644 (file)
@@ -150,7 +150,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