aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2025-11-23 19:09:25 -0700
committerRandy Palamar <randy@rnpnr.xyz>2025-11-24 05:25:51 -0700
commit1953c287ace801a6606abd6c3ead0ff345645bec (patch)
treeedcb6793827457591d6b01dd701684e9e4ad3709 /configure
parent5aaf2082445032b5c0f49346a81453074d384cb3 (diff)
downloadvis-1953c287ace801a6606abd6c3ead0ff345645bec.tar.gz
vis-1953c287ace801a6606abd6c3ead0ff345645bec.tar.xz
text-io: make TextSave visible
Having a failure case on allocing a TextSave is stupid. Ideally there would be no allocations in the file saving path but we have to replace the braindead dirname(3) with an internal implementation.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index d90731f..a70eac1 100755
--- a/configure
+++ b/configure
@@ -236,6 +236,9 @@ esac
tryflag CFLAGS -Wall
tryflag CFLAGS -pipe
+# shut up useless warning
+tryflag CFLAGS -Wno-initializer-overrides
+
# Try flags to optimize binary size
tryflag CFLAGS -O2
tryflag CFLAGS -ffunction-sections