void-packages/srcpkgs/termbox/patches/cflags.patch

16 lines
501 B
Diff
Raw Normal View History

2022-12-03 18:52:12 +01:00
Index: termbox-1.1.2/wscript
===================================================================
--- termbox-1.1.2.orig/wscript
+++ termbox-1.1.2/wscript
@@ -21,10 +21,6 @@ def configure(conf):
conf.load('gnu_dirs')
conf.load('compiler_c')
conf.env.append_unique('CFLAGS', ['-std=gnu99', '-Wall', '-Wextra', '-D_XOPEN_SOURCE'])
- if conf.options.debug:
- conf.env.append_unique('CFLAGS', ['-g', '-Og'])
- else:
- conf.env.append_unique('CFLAGS', '-O3')
def build(bld):
bld.recurse('src')