summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-05-01 18:51:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-05-01 18:51:28 -0700
commit9c6d6519236f536efcd284f714e6f3f145767a57 (patch)
tree4eee8066a0f550b13bb561d952d3694043176aee /configure
parentf25455e60cb791e1dd6c3d6d4c0951579b02c15a (diff)
downloadtxr-9c6d6519236f536efcd284f714e6f3f145767a57.tar.gz
txr-9c6d6519236f536efcd284f714e6f3f145767a57.tar.bz2
txr-9c6d6519236f536efcd284f714e6f3f145767a57.zip
Adding -D_GNU_SOURCE to compiler command line.
* configure (lang_flags): -D_GNU_SOURCE added. * ftw.c (__USE_GNU): Macro definition removed.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 98caaf7b..1518af29 100755
--- a/configure
+++ b/configure
@@ -103,7 +103,7 @@ yacc='$(cross)$(tool_prefix)$(yaccname)'
yacc_given=
nm='$(cross)$(tool_prefix)nm'
opt_flags=-O2
-lang_flags='-ansi -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200112'
+lang_flags='-ansi -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200112 -D_GNU_SOURCE'
diag_flags='-Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=strict-prototypes'
debug_flags=-g
debug_only_flags=-DTXR_DEBUG