r15206: Heimdal is always compiled with _GNU_SOURCE enabled (in its configure.in...
authorAlexander Bokovoy <ab@samba.org>
Mon, 24 Apr 2006 15:12:21 +0000 (15:12 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:04:18 +0000 (14:04 -0500)
commitcd7307c099ace123d840459da39a49ccf3872267
tree70b35ec07f6fc79c66b4e17ab2fe0b29015ec837
parent4dc3d8551d0a3cd0edcbbc90d2dbf8fc249b3017
r15206: Heimdal is always compiled with _GNU_SOURCE enabled (in its configure.in it is defined unconditionally).
However, the lex-generated files don't fetch config.h's definition of _GNU_SOURCE before including
features.h because of preamble added by lex which already includes some system headers which in turn
include features.h. Therefore, we need to specify it explicitly on comand line.

This change adds some 'noise' (_GNU_SOURCE already defined ...) but it is neccessary to get samba4 to
compile successfuly on Maemo.
source/heimdal_build/config.mk