From: Lionel Sambuc Date: Tue, 26 Feb 2013 12:34:13 +0000 (+0100) Subject: Removing forgotten, useless, renegade defines X-Git-Tag: v3.3.0~1123 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=refs%2Fchanges%2F66%2F366%2F2;p=minix.git Removing forgotten, useless, renegade defines Change-Id: I3ff12b42e2815c8f3d72bb577a58552f3a0dc662 --- 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