aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-09-26 16:26:27 -1000
committerBill Nottingham <notting@redhat.com>2009-03-19 15:50:20 -0400
commite95df210a7f00e337b22044f8f71ca22683cff19 (patch)
tree898ee231852a5c9a66b7bb96136833e5737b5b23 /src
parent08cb5b4fbc941c606bbd5073e8094c5538873cd3 (diff)
downloadinitscripts-e95df210a7f00e337b22044f8f71ca22683cff19.tar
initscripts-e95df210a7f00e337b22044f8f71ca22683cff19.tar.gz
initscripts-e95df210a7f00e337b22044f8f71ca22683cff19.tar.bz2
initscripts-e95df210a7f00e337b22044f8f71ca22683cff19.tar.xz
initscripts-e95df210a7f00e337b22044f8f71ca22683cff19.zip
Compile ipcalc with _GNU_SOURCE defined (for asprintf).
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index b793300b..0577adcd 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -56,7 +56,7 @@ getkey: getkey.o
$(CC) $(LDFLAGS) -o $@ $< -lpopt
ipcalc: ipcalc.o
- $(CC) $(LDFLAGS) -o $@ $< -lpopt
+ $(CC) -D_GNU_SOURCE $(LDFLAGS) -o $@ $< -lpopt
initlog: $(INITLOG_OBJS)
$(CC) $(LDFLAGS) -o $@ $(INITLOG_OBJS) -lpopt