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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user