summaryrefslogtreecommitdiff
path: root/pkg/rc/gen.lua
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2024-06-27 06:16:46 -0600
committerMichael Forney <mforney@mforney.org>2024-08-09 21:55:34 -0700
commit0eb0850eec36af11a0038cd8d878416281287637 (patch)
tree6aceca2a00d7502d7b10667746997270325394c9 /pkg/rc/gen.lua
parenta394cc0a57e352e459261f0adbc5bb01af38143f (diff)
rc: use config.prefix for PREFIX
Diffstat (limited to 'pkg/rc/gen.lua')
-rw-r--r--pkg/rc/gen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rc/gen.lua b/pkg/rc/gen.lua
index 6b3708b8..a0dde154 100644
--- a/pkg/rc/gen.lua
+++ b/pkg/rc/gen.lua
@@ -1,6 +1,6 @@
cflags{
'-Wpedantic',
- '-D PREFIX=',
+ ([['-D PREFIX="%s"']]):format(config.prefix),
}
exe('rc', {