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

index 68a2633f0ffe9ac733b357c8538d3221d5582edc..5353509675597342ab96a471bb11e300189601a7 100644 (file)
@@ -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
index 5e83495228a7fb651132787c201e2770045101b3..467a8ba718333275a2c509431cc5c194ce5ae3d9 100644 (file)
@@ -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