]> git.donarmstrong.com Git - debhelper.git/commit
pass dpkg-buildflags to makemaker build system
authorSteve Langasek <steve.langasek@canonical.com>
Wed, 28 Sep 2011 19:37:42 +0000 (12:37 -0700)
committerJoey Hess <joey@kitenet.net>
Thu, 29 Sep 2011 19:34:36 +0000 (15:34 -0400)
commita2e55ee97f603dac1fe08bdc3cf50bc875c2dfd7
tree07e8c2652f917fd1cd33715ca483ba55577ed6bb
parent07fd879e68c61b258e22e729f044a928a80a517c
pass dpkg-buildflags to makemaker build system

The standard way to pass build flags to makemaker perl build systems is to
set the OPTIMIZE variable on the commandline; CFLAGS in the environment gets
ignored entirely.  So pass the CFLAGS from the environment to Makefile.PL so
makemaker packages can also benefit from dpkg-buildflags.
Debian/Debhelper/Buildsystem/perl_makemaker.pm