1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-26 20:02:37 +00:00

Fix timer.c compilation on non-x86_64 GNU/Linux. (#104)

`timer.c` uses `F_SETSIG` which is a GNU extension. As such, it
needs `_GNU_SOURCE` to be defined, but this was only done for
x86_64, not the other Linux platforms that we have build system
support for.

Closes interlisp/medley#97.
This commit is contained in:
Bruce Mitchener
2020-12-21 00:42:37 +07:00
committed by GitHub
parent 810e33125b
commit 41d28e01b5
2 changed files with 4 additions and 2 deletions

View File

@@ -24,7 +24,8 @@ DISPOPTFLAGS = -O2 -g3
FPFLAGS =
DFLAGS = -DNEW_STORAGE -DLINUX -DAIX -DOLD_CURSOR \
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
-DRELEASE=351 -DSYSVSIGNALS -DSYSVONLY
-DRELEASE=351 -DSYSVSIGNALS -DSYSVONLY \
-D_GNU_SOURCE
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lcrypt
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lcrypt

View File

@@ -24,7 +24,8 @@ DISPOPTFLAGS = -O2 -g3
FPFLAGS =
DFLAGS = -DNEW_STORAGE -DLINUX -DAIX -DOLD_CURSOR \
-DBYTESWAP -DFORKCOMM -DNOFORN -DLOGINT $(XFLAGS) \
-DRELEASE=351 -DSYSVSIGNALS -DSYSVONLY
-DRELEASE=351 -DSYSVSIGNALS -DSYSVONLY \
-D_GNU_SOURCE
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lcrypt
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm -lcrypt