From 4862e8bbb67c366653628774a280c921f99ee8cb Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Wed, 16 Dec 2020 01:06:15 +0700 Subject: [PATCH] Remove -D__USE_BSD from Linux builds. (#67) This is an internal macro to GNU libc and wasn't meant to be defined like this. Well, it was. It was deprecated and removed some years ago, so it isn't doing anything at all here now. --- bin/makefile-linux.386-x | 2 +- bin/makefile-linux.armv7l-x | 2 +- bin/makefile-linux.x86_64-x | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/makefile-linux.386-x b/bin/makefile-linux.386-x index e4e0530..07d14fa 100644 --- a/bin/makefile-linux.386-x +++ b/bin/makefile-linux.386-x @@ -24,7 +24,7 @@ DISPOPTFLAGS = -O2 -g3 FPFLAGS = DFLAGS = -DFSERROR -DNEW_STORAGE -DLINUX -DAIX -DOLD_CURSOR \ -DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \ - -DRELEASE=351 -D__USE_BSD -DSYSVSIGNALS -DSYSVONLY + -DRELEASE=351 -DSYSVSIGNALS -DSYSVONLY LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lcrypt LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lcrypt diff --git a/bin/makefile-linux.armv7l-x b/bin/makefile-linux.armv7l-x index e4e0530..07d14fa 100644 --- a/bin/makefile-linux.armv7l-x +++ b/bin/makefile-linux.armv7l-x @@ -24,7 +24,7 @@ DISPOPTFLAGS = -O2 -g3 FPFLAGS = DFLAGS = -DFSERROR -DNEW_STORAGE -DLINUX -DAIX -DOLD_CURSOR \ -DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \ - -DRELEASE=351 -D__USE_BSD -DSYSVSIGNALS -DSYSVONLY + -DRELEASE=351 -DSYSVSIGNALS -DSYSVONLY LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lcrypt LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lcrypt diff --git a/bin/makefile-linux.x86_64-x b/bin/makefile-linux.x86_64-x index ea5ce5d..dee8734 100644 --- a/bin/makefile-linux.x86_64-x +++ b/bin/makefile-linux.x86_64-x @@ -25,7 +25,7 @@ DISPOPTFLAGS = -O2 -g3 FPFLAGS = DFLAGS = -DFSERROR -DNEW_STORAGE -DLINUX -DAIX -DOLD_CURSOR \ -DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \ - -DRELEASE=351 -D__USE_BSD -DSYSVSIGNALS -DSYSVONLY \ + -DRELEASE=351 -DSYSVSIGNALS -DSYSVONLY \ -D_GNU_SOURCE LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lcrypt