[libapache2-mod-perl2] 02/03: Build with -fgnu89-inline to fix problems with gcc-5. (Closes: #777935)

Niko Tyni ntyni at moszumanska.debian.org
Wed Jul 1 21:04:50 UTC 2015


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

ntyni pushed a commit to branch master
in repository libapache2-mod-perl2.

commit 3a9008b28240d154d6a4c5d71fb4cf6c17b1abcb
Author: Niko Tyni <ntyni at debian.org>
Date:   Tue Jun 16 21:57:28 2015 +0300

    Build with -fgnu89-inline to fix problems with gcc-5. (Closes: #777935)
    
    The default inline semantics have changed in GCC 5 and may need changes
    in mod_perl source. Force the old semantics for now. The -fgnu89-inline
    option has been accepted since GCC 4.1.3.
    
    See https://gcc.gnu.org/gcc-5/porting_to.html
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index a9e2ed8..5667646 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ override_dh_auto_configure:
 		MP_TRACE=0 \
 		MP_USE_DSO=1 \
 		MP_USE_STATIC=0 \
-		MP_CCOPTS="$(CFLAGS) -Wall" \
+		MP_CCOPTS="$(CFLAGS) -Wall -fgnu89-inline" \
 		MP_APR_CONFIG=/usr/bin/apr-config
 
 override_dh_auto_build:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapache2-mod-perl2.git



More information about the Pkg-perl-cvs-commits mailing list