File: allow-one-to-override-CFLAGS.patch

package info (click to toggle)
bosh 0.6-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 588 kB
  • sloc: ansic: 2,008; sh: 1,005; makefile: 12
file content (16 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (3)
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)