aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-12-14 22:23:58 +0000
committerSergei Trofimovich <slyich@gmail.com>2022-12-17 20:42:03 +0000
commit97b2a336ff3c24c56235110f3c457b88f5a51f33 (patch)
tree878e577a15fc7fbe4d0b92a9d43c5a5fab951eef
parent26c7602c390f8c511f326785b570918b2f468892 (diff)
configure.ac: don't clobber CFLAGS=/CXXFLAGS= and allow users to pass in custom flags
Reported-by: 0n-s Bug: https://github.com/trofi/nix-guix-gentoo/issues/26
-rw-r--r--configure.ac2
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c0e989d85..1b0d6fd27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,8 +41,6 @@ AC_DEFINE_UNQUOTED(SYSTEM, ["$system"], [platform identifier ('cpu-os')])
test "$localstatedir" = '${prefix}/var' && localstatedir=/nix/var
-CFLAGS=
-CXXFLAGS=
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP