From 732a27073509badbd23395e75f2578513fa9716c Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 20 May 2019 16:39:24 -0700 Subject: Don't pass -std=c11 and -D __STRICT_ANSI__ to cpp by default This was necessary to prevent glibc from using statement expressions when we defined __GNUC__, but this was reverted in 0df54a9f. --- configure | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 01e9145..af9a3f5 100755 --- a/configure +++ b/configure @@ -81,10 +81,6 @@ case "$target" in gcclibdir=${crtbegin%/*} fi linkflags='"-L", "'$gcclibdir'",' - defines=' - /* prevent glibc from using statement expressions for assert */ - "-D", "__STRICT_ANSI__", -' ;; *-*freebsd*) : ${DEFAULT_DYNAMIC_LINKER:=/libexec/ld-elf.so.1} @@ -129,7 +125,7 @@ cat >config.h <