[Forensics-changes] [yara] 140/160: Revert commit 9c60ecb2e2d11e136d31ccff155d833f4d3d9a1d

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:29:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.4.0
in repository yara.

commit 83046349a0c7ff9a1a37da2f6327f9cdd8ff9ed1
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Wed Jun 3 11:20:12 2015 +0200

    Revert commit 9c60ecb2e2d11e136d31ccff155d833f4d3d9a1d
    
    It turned out that this had a purpose. Without this the compiler gets extra "-g -O2" arguments overriding the settings in Makefile.am.
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index b0c4c9b..e54a5f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,10 @@ AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
 
 AC_CONFIG_MACRO_DIR([m4])
 
+# AC_PROG_CC sets CFLAGS to "-g -O2" if it wasn't previously set. Let's set
+# an empty CFLAGS
+: ${CFLAGS=""}
+
 # automake 1.12 seems to require AM_PROG_AR, but automake 1.11 doesn't
 # recognize it
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list