initscripts/initscripts-1.6.11-gcc-4.7.patch

25 lines
989 B
Diff

diff -Nru initscripts-1.6.11/src.orig/Makefile initscripts-1.6.11/src/Makefile
--- initscripts-1.6.11/src.orig/Makefile 2012-02-16 17:24:22.000000000 +0100
+++ initscripts-1.6.11/src/Makefile 2013-03-19 17:39:49.126982264 +0100
@@ -25,16 +25,16 @@
all: $(PROGS)
getkey: getkey.o
- $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -lpopt -Wl,-Bdynamic
+ $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -Wl,-Bdynamic -lpopt
initlog: $(INITLOG_OBJS)
- $(CC) $(LDFLAGS) -o $@ $(INITLOG_OBJS) -Wl,-Bstatic -lpopt -Wl,-Bdynamic
+ $(CC) $(LDFLAGS) -o $@ $(INITLOG_OBJS) -Wl,-Bstatic -Wl,-Bdynamic -lpopt
ipcalc: ipcalc.o
- $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -lpopt -Wl,-Bdynamic
+ $(CC) $(LDFLAGS) -o $@ $< -Wl,-Bstatic -Wl,-Bdynamic -lpopt
usleep: $(USLEEP_OBJS)
- $(CC) $(LDFLAGS) -o $@ $(USLEEP_OBJS) -Wl,-Bstatic -lpopt -Wl,-Bdynamic
+ $(CC) $(LDFLAGS) -o $@ $(USLEEP_OBJS) -Wl,-Bstatic -Wl,-Bdynamic -lpopt
usernetctl.o: usernetctl.c
$(CC) $(CFLAGS) -fPIE -c usernetctl.c -o usernetctl.o