Merge ENGINE-238
authorDamiano Boppart <damiano@pep-security.net>
Mon, 28 Aug 2017 12:17:40 +0000
changeset 20072149f36880b6
parent 2005 0011c2ff41fd
parent 2006 77f26f8c5a7a
child 2009 7da0d79c6141
child 2016 88b165732da5
Merge ENGINE-238
     1.1 --- a/build-config/Linux.conf	Mon Aug 28 14:12:24 2017 +0200
     1.2 +++ b/build-config/Linux.conf	Mon Aug 28 12:17:40 2017 +0000
     1.3 @@ -19,8 +19,8 @@
     1.4  else
     1.5      CFLAGS+= -O3 -DNDEBUG
     1.6  endif
     1.7 -# '-Wno-cpp' is required to suppress the warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" otherwise printed during the compilation of every asn1c-generated C file.
     1.8 -CFLAGS_GENERATED=-Wno-cpp
     1.9 +# The '_DEFAULT_SOURCE' feature test macro is required to suppress the warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" otherwise printed during the compilation of every asn1c-generated C file. It's a glibc specific warning, only present in few versions around ~2.19. See https://lwn.net/Articles/590381/ for a discussion.
    1.10 +CFLAGS_GENERATED=-D_DEFAULT_SOURCE
    1.11  
    1.12  ######### C++ #########
    1.13  CXX=g++ -std=gnu++11 -pthread