Skip to content

Commit b16ecee

Browse files
committed
Forgot to add _GNU_SOURCE compiler flags.
1 parent 343ff84 commit b16ecee

13 files changed

Lines changed: 21 additions & 7 deletions

File tree

ax25tools/6pack/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ m6pack_SOURCES = m6pack.c
44

55
LDADD = $(AX25_LIB)
66

7+
AM_CPPFLAGS = -D_GNU_SOURCE

ax25tools/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ SUBDIRS = ax25 hdlcutil kiss 6pack netrom rose tcpip user_call yamdrv dmascc man
22

33
EXTRA_DIST = pathnames.h ax25tools.spec SVNREV
44

5-
AM_CPPFLAGS = -DAX25_SYSCONFDIR=\""$(sysconfdir)/ax25/"\" \
5+
AM_CPPFLAGS = -D_GNU_SOURCE \
6+
-DAX25_SYSCONFDIR=\""$(sysconfdir)/ax25/"\" \
67
-DAX25_LOCALSTATEDIR=\""$(localstatedir)/ax25/"\"
78

89
AX25_SYSCONFDIR=$(sysconfdir)/ax25/

ax25tools/ax25/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ bin_PROGRAMS = mheard
77
LDADD = $(AX25_LIB)
88
axspawn_LDADD = $(AX25_LIB) $(UTIL_LIB)
99

10-
AM_CPPFLAGS = -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
10+
AM_CPPFLAGS = -D_GNU_SOURCE \
11+
-DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
1112
-DAX25_LOCALSTATEDIR=\""$(AX25_LOCALSTATEDIR)"\"
1213

1314
AX25_SYSCONFDIR=$(sysconfdir)/ax25/

ax25tools/ax25/axgetput/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@ bin_PROGRAMS = axgetput
22

33
axgetput_SOURCES = axgetput.c axgetput.h util.h proto_bin.h util.c proto_bin.c includes.h
44

5+
AM_CPPFLAGS = -D_GNU_SOURCE
6+
57
install-exec-hook:
68
(cd $(DESTDIR)$(bindir) && ln -sf axgetput bget && ln -sf axgetput bput)

ax25tools/dmascc/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ sbin_PROGRAMS = dmascc_cfg
22

33
dmascc_cfg_SOURCE = dmascc_cfg.c
44

5+
AM_CPPFLAGS = -D_GNU_SOURCE

ax25tools/hdlcutil/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ smdiag_SOURCES = smdiag.c hdrvcomm.c hdrvcomm.h usersmdiag.h soundmodem.h
1212

1313
smdiag_LDADD = $(X_LIBS) -lX11 $(X_EXTRA_LIBS)
1414

15+
AM_CPPFLAGS = -D_GNU_SOURCE

ax25tools/hdlcutil/fl/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if HAVE_FLTK
33
sbin_PROGRAMS = xfsmmixer xfhdlcchpar xfhdlcst xfsmdiag
44
endif
55

6-
AM_CPPFLAGS = $(X_CFLAGS) -I$(srcdir)/..
6+
AM_CPPFLAGS = -D_GNU_SOURCE $(X_CFLAGS) -I$(srcdir)/..
77
LDDADD = ../hdrvcomm.o
88
AM_LDFLAGS = $(X_LIBS) -lX11 $(FLTK_LIB) $(LDDADD)
99

ax25tools/kiss/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ sbin_PROGRAMS = kissattach kissnetd kissparms mkiss net2kiss
33
LDADD= $(AX25_LIB)
44
net2kiss_LDADD = $(UTIL_LIB)
55

6-
AM_CPPFLAGS = -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
6+
AM_CPPFLAGS = -D_GNU_SOURCE \
7+
-DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
78
-DAX25_LOCALSTATEDIR=\""$(AX25_LOCALSTATEDIR)"\"
89

910
AX25_SYSCONFDIR=${sysconfdir}/ax25/

ax25tools/netrom/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ nrattach_SOURCES = nrattach.c
1313
nrparms_SOURCES = nrparms.c
1414
nrsdrv_SOURCES = nrsdrv.c
1515

16-
AM_CPPFLAGS = -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
16+
AM_CPPFLAGS = -D_GNU_SOURCE \
17+
-DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
1718
-DAX25_LOCALSTATEDIR=\""$(AX25_LOCALSTATEDIR)"\"
1819

1920
AX25_SYSCONFDIR=${sysconfdir}/ax25/

ax25tools/rose/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ sbin_SCRIPTS = rsusers.sh
1414

1515
EXTRA_DIST = $(sbin_SCRIPTS)
1616

17-
AM_CPPFLAGS = -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
17+
AM_CPPFLAGS = -D_GNU_SOURCE \
18+
-DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
1819
-DAX25_LOCALSTATEDIR=\""$(AX25_LOCALSTATEDIR)"\"
1920

2021
AX25_SYSCONFDIR=${sysconfdir}/ax25/

0 commit comments

Comments
 (0)