Lines 27-32
src_prepare() {
Link Here
|
27 |
s/CC = gcc -fpic/CC = gcc -fpic ${CFLAGS}/; |
27 |
s/CC = gcc -fpic/CC = gcc -fpic ${CFLAGS}/; |
28 |
s/LDFLAGS/LOCAL_LDFLAGS/g; |
28 |
s/LDFLAGS/LOCAL_LDFLAGS/g; |
29 |
s/LOCAL_LDFLAGS = -shared/LOCAL_LDFLAGS = -shared ${LDFLAGS}/; |
29 |
s/LOCAL_LDFLAGS = -shared/LOCAL_LDFLAGS = -shared ${LDFLAGS}/; |
|
|
30 |
s/\$(CC) -o \$@ \$(DEBUG) \$(OBJS) \$(SYS_LIBS)/\$(CC) -o \$@ \$(DEBUG) \$(OBJS) \$(SYS_LIBS) ${LDFLAGS}/; |
30 |
s/DEBUG=-g -Wno-char-subscripts -O/DEBUG=/' \ |
31 |
s/DEBUG=-g -Wno-char-subscripts -O/DEBUG=/' \ |
31 |
-i makefile || die "sed failed" |
32 |
-i makefile || die "sed failed" |
32 |
append-ldflags "-Wl,-soname,lib${PN}.so.${PV}" |
33 |
append-ldflags "-Wl,-soname,lib${PN}.so.${PV}" |