aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-07 11:44:02 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-11-07 11:44:02 +0100
commitf730841db4db3da4dd33a477fcf016139d699722 (patch)
treec6f942a2e8a05c3dd3cddf600507b1e07815c177 /configure.ac
parent850f73045f7d34c51bfd1cddfd2c4c0c61e15a36 (diff)
parent99af822004418b25b6d04eca67949c62e770c16b (diff)
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 2 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 8c0f0f26d..9f29a7734 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,14 +50,11 @@ AC_DEFINE_UNQUOTED(SYSTEM, ["$system"], [platform identifier ('cpu-os')])
test "$localstatedir" = '${prefix}/var' && localstatedir=/nix/var
-# Set default flags for nix (as per AC_PROG_CC/CXX docs),
-# while still allowing the user to override them from the command line.
-: ${CFLAGS="-O3"}
-: ${CXXFLAGS="-O3"}
+CFLAGS=
+CXXFLAGS=
AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP
-AX_CXX_COMPILE_STDCXX_17([noext], [mandatory])
AC_CHECK_TOOL([AR], [ar])