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
This commit is contained in:
Sergei Trofimovich 2022-12-14 22:23:58 +00:00
parent 26c7602c39
commit 97b2a336ff

View file

@ -41,8 +41,6 @@ AC_DEFINE_UNQUOTED(SYSTEM, ["$system"], [platform identifier ('cpu-os')])
test "$localstatedir" = '${prefix}/var' && localstatedir=/nix/var test "$localstatedir" = '${prefix}/var' && localstatedir=/nix/var
CFLAGS=
CXXFLAGS=
AC_PROG_CC AC_PROG_CC
AC_PROG_CXX AC_PROG_CXX
AC_PROG_CPP AC_PROG_CPP