diff options
author | Modestas Vainius <modestas@vainius.eu> | 2009-06-18 01:16:33 +0300 |
---|---|---|
committer | Modestas Vainius <modestas@vainius.eu> | 2009-06-18 01:20:07 +0300 |
commit | 91928482af09c4ca1092f124921d0f47613c17ba (patch) | |
tree | 26a06707e765661be7d851233d16e8d1980c7d2b | |
parent | 50e8120b712e55bc227344869b38e5dece31ec03 (diff) | |
download | debhelper-91928482af09c4ca1092f124921d0f47613c17ba.tar.gz |
Do not explicitly repass env. variables {C,CXX,LD}FLAGS to cmake.
Apparently, cmake itself reads values of those environment variables and uses
them accordingly. There is no need to repass them via -DCMAKE_{C,CXX,LD}_FLAGS.
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
-rw-r--r-- | Debian/Debhelper/Buildsystem/cmake.pm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Debian/Debhelper/Buildsystem/cmake.pm b/Debian/Debhelper/Buildsystem/cmake.pm index 1ccab10e..56628740 100644 --- a/Debian/Debhelper/Buildsystem/cmake.pm +++ b/Debian/Debhelper/Buildsystem/cmake.pm @@ -35,9 +35,6 @@ sub configure { # Standard set of cmake flags push @flags, "-DCMAKE_INSTALL_PREFIX=/usr"; - push @flags, "-DCMAKE_C_FLAGS=$ENV{CFLAGS}" if (exists $ENV{CFLAGS}); - push @flags, "-DCMAKE_CXX_FLAGS=$ENV{CXXFLAGS}" if (exists $ENV{CXXFLAGS}); - push @flags, "-DCMAKE_LD_FLAGS=$ENV{LDFLAGS}" if (exists $ENV{LDFLAGS}); push @flags, "-DCMAKE_SKIP_RPATH=ON"; push @flags, "-DCMAKE_VERBOSE_MAKEFILE=ON"; |