From 0ca2111817ae53ce076567a0ed8af6b0473722be Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Tue, 26 Feb 2013 13:34:13 +0100 Subject: [PATCH] Removing forgotten, useless, renegade defines Change-Id: I3ff12b42e2815c8f3d72bb577a58552f3a0dc662 --- tools/gcc/Makefile | 1 - tools/gmake/Makefile | 4 ---- tools/lex/Makefile | 1 - 3 files changed, 6 deletions(-) diff --git a/tools/gcc/Makefile b/tools/gcc/Makefile index 63d829b65..895c14e95 100644 --- a/tools/gcc/Makefile +++ b/tools/gcc/Makefile @@ -76,7 +76,6 @@ GCC_CPPFLAGS= -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=0 \ -DTARGET_SYSTEM_ROOT_RELOCATABLE .if ${HOST_OSTYPE:C/\-.*//} == "Minix" -GCC_CPPFLAGS+= -D_NETBSD_SOURCE -D_POSIX_SOURCE -D_COMPAT_MINIX CONFIGURE_ENV+= LDFLAGS=-lm .endif diff --git a/tools/gmake/Makefile b/tools/gmake/Makefile index 7c2732857..797b4269a 100644 --- a/tools/gmake/Makefile +++ b/tools/gmake/Makefile @@ -3,10 +3,6 @@ GNUHOSTDIST= ${.CURDIR}/../../gnu/dist/gmake -.if ${HOST_OSTYPE:C/\-.*//} == "Minix" -HOST_CPPFLAGS+=-D_NETBSD_SOURCE -D_POSIX_SOURCE -D_COMPAT_MINIX -.endif - CONFIGURE_ENV+= CC=${HOST_CC:Q} \ CFLAGS=${HOST_CFLAGS:Q} \ CPPFLAGS=${HOST_CPPFLAGS:Q} \ diff --git a/tools/lex/Makefile b/tools/lex/Makefile index f84180e7c..08df7227d 100644 --- a/tools/lex/Makefile +++ b/tools/lex/Makefile @@ -4,7 +4,6 @@ HOSTPROGNAME= ${_TOOL_PREFIX}lex HOST_SRCDIR= external/bsd/flex/bin .if ${HOST_OSTYPE:C/\-.*//} == "Minix" -HOST_CPPFLAGS+=-D_NETBSD_SOURCE -D_POSIX_SOURCE -D_COMPAT_MINIX HOST_LDFLAGS+= -static .endif