Mercurial > pub > dyncall > dyncall
diff test/dynload_plain/Makefile.generic @ 571:996424e8a5fc
test/dynload_plain: use same CFLAGS to build UTF-8 path helper lib with as for main build (fixes building this helper lib w/ incompatible instruction set on some platforms)
author | Tassilo Philipp |
---|---|
date | Sun, 04 Sep 2022 16:29:30 +0200 |
parents | 3155ccc33cae |
children | 0bb9c03ff617 |
line wrap: on
line diff
--- a/test/dynload_plain/Makefile.generic Sun Sep 04 15:57:28 2022 +0200 +++ b/test/dynload_plain/Makefile.generic Sun Sep 04 16:29:30 2022 +0200 @@ -20,7 +20,7 @@ ${APP}: ${OBJS} ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS_D} ${LDLIBS} -o ${APP} ${TEST_U8_SO}: - echo 'int dynload_plain_testfunc() { return 5; }' | ${CC} -`[ \`uname\` = Darwin ] && echo dynamiclib || echo shared` -x c - -o ${TEST_U8_SO} + echo 'int dynload_plain_testfunc() { return 5; }' | ${CC} ${CFLAGS} -`[ \`uname\` = Darwin ] && echo dynamiclib || echo shared` -x c - -o ${TEST_U8_SO} clean: rm -f ${APP} ${OBJS} ${TEST_C_LD} ${TEST_U8_SO} install: