diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/lib.mk | 2 | ||||
-rw-r--r-- | mk/prog.mk | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ ${SHLIB_NAME}: ${SOBJS} @${ECHO} building shared library $@ @rm -f $@ ${SHLIB_LINK} @ln -fs $@ ${SHLIB_LINK} - ${CC} ${LDFLAGS} -shared -Wl,-x \ + ${CC} ${CFLAGS} ${LDFLAGS} -shared -Wl,-x \ -o $@ -Wl,-soname,${SONAME} \ ${SOBJS} ${LDADD} @@ -28,7 +28,7 @@ all: depend ${PROG} ${CC} ${CFLAGS} ${CPPFLAGS} -c $< -o $@ ${PROG}: ${SCRIPTS} ${OBJS} - ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LDADD} + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${OBJS} ${LDADD} clean: rm -f ${CLEANFILES} |