]> Zhao Yanbai Git Server - minix.git/commitdiff
Removing forgotten, useless, renegade defines 66/366/2
authorLionel Sambuc <lionel@minix3.org>
Tue, 26 Feb 2013 12:34:13 +0000 (13:34 +0100)
committerLionel Sambuc <lionel@minix3.org>
Wed, 27 Feb 2013 09:54:04 +0000 (10:54 +0100)
Change-Id: I3ff12b42e2815c8f3d72bb577a58552f3a0dc662

tools/gcc/Makefile
tools/gmake/Makefile
tools/lex/Makefile

index 63d829b65d234e0f58a22e28bc540cde684792d1..895c14e95a7bd0aac942c6644cbf26861254dc23 100644 (file)
@@ -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
 
index 7c27328579833ab138e74fbf461b7ba4f6f59843..797b4269adc83ff7c6e60fc6437121470f92ac72 100644 (file)
@@ -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} \
index f84180e7cc176d2412376e7d6c1f1eab90a5e19a..08df7227ddf1adfa36799e8d0c12664794e1e10f 100644 (file)
@@ -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