1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: append CFLAGS in configure.ac instead of overriding it
This is needed to propagate Debian standard build flags
Author: Étienne Mollier <etienne.mollier@mailoo.org>
Forwarded: no
Last-Update: 2020-11-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- trnascan-se.orig/configure.ac
+++ trnascan-se/configure.ac
@@ -21,9 +21,10 @@
AC_PROG_CC
if test "$enable_debugging" != "no"; then
- CFLAGS="-g -Wall"
+ AX_APPEND_FLAG([-g], [CFLAGS])
+ AX_APPEND_FLAG([-Wall], [CFLAGS])
else
- CFLAGS="-O3"
+ AX_APPEND_FLAG([-O3], [CFLAGS])
fi
# standard install program
|