Package: bosh / 0.6-10

allow-one-to-override-CFLAGS.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Allow one to override CFLAGS
Origin: vendor
Author: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2018-12-28

--- a/configure.in
+++ b/configure.in
@@ -2,7 +2,7 @@ AC_INIT(bosh.c)
 AM_INIT_AUTOMAKE(bosh,0.6)
 AC_PROG_CC
 AC_PROG_INSTALL
-CFLAGS="-Wall"
+CFLAGS="-Wall $CFLAGS"
 AC_SUBST(CFLAGS)
 AC_ARG_ENABLE(debug,[  --enable-debug      -DDEBUG -g],enable_debug=yes)
 AC_ARG_ENABLE(debug,[  --enable-log        -DLOG],enable_log=yes)