diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-09-26 16:26:27 -1000 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2010-09-13 17:27:21 +0200 |
commit | 9253ed4bdddd635706a0a741259cbaa8a21d8b89 (patch) | |
tree | 215e8605fe7cdb61b369fc78f718ff3c2a43b29e /src | |
parent | 192392a47594d8141aaf14a0a705bc421899adb0 (diff) | |
download | initscripts-9253ed4bdddd635706a0a741259cbaa8a21d8b89.tar initscripts-9253ed4bdddd635706a0a741259cbaa8a21d8b89.tar.gz initscripts-9253ed4bdddd635706a0a741259cbaa8a21d8b89.tar.bz2 initscripts-9253ed4bdddd635706a0a741259cbaa8a21d8b89.tar.xz initscripts-9253ed4bdddd635706a0a741259cbaa8a21d8b89.zip |
Compile ipcalc with _GNU_SOURCE defined (for asprintf).
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 5a6e171f..1cfb71ef 100644 --- a/src/Makefile +++ b/src/Makefile @@ -51,7 +51,7 @@ getkey: getkey.o $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -lpopt -Wl,-Bdynamic ipcalc: ipcalc.o - $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -lpopt -Wl,-Bdynamic + $(CC) -D_GNU_SOURCE $(LDFLAGS) -o $@ $< -Wl,-Bstatic -lpopt -Wl,-Bdynamic initlog: $(INITLOG_OBJS) $(CC) $(LDFLAGS) -o $@ $(INITLOG_OBJS) -Wl,-Bstatic -lpopt -Wl,-Bdynamic |