summaryrefslogtreecommitdiff
path: root/pkg/dmenu/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-03-16 23:48:32 -0700
committerMichael Forney <mforney@mforney.org>2024-03-17 00:27:08 -0700
commitb6fb740158e58d358801d9d171da3a827ae36572 (patch)
tree1bb7536a9b446450be4f041aec32155311c8f1b2 /pkg/dmenu/gen.lua
parent53e1c3cac82eec71f804d79ac9b85bfd31d9f79c (diff)
dmenu: Build with warning flags
Diffstat (limited to 'pkg/dmenu/gen.lua')
-rw-r--r--pkg/dmenu/gen.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/dmenu/gen.lua b/pkg/dmenu/gen.lua
index c3597e54..ce99a175 100644
--- a/pkg/dmenu/gen.lua
+++ b/pkg/dmenu/gen.lua
@@ -1,4 +1,6 @@
cflags{
+ '-std=c99', '-Wall', '-Wpedantic', '-Wno-maybe-uninitialized',
+ '-D _POSIX_C_SOURCE=200809L',
[[-D 'VERSION="4.6"']],
'-I $dir',
'-isystem $builddir/pkg/fontconfig/include',