abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 5b503c838f7d5cd278110db7411adeeab27b50f4
parent 35117affb9985176ff95083fb5a278a7c06a5b4a
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 16 Oct 2014 21:20:02 +0200

Set _GNU_SOURCE in config.mk

Diffstat:
abduco.c | 1-
config.mk | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/abduco.c b/abduco.c @@ -13,7 +13,6 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define _GNU_SOURCE #include <errno.h> #include <fcntl.h> #include <stdio.h> diff --git a/config.mk b/config.mk @@ -15,7 +15,7 @@ LIBS = -lc -lutil # Solaris #LIBS = -lc -lsocket -CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG +CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG -D_GNU_SOURCE LDFLAGS += ${LIBS} DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall