Overview
Comment: | Updated with a better check for -Wno-unused-result for TCC |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7cda94da9b6a817b9386caad0c87e4f2 |
User & Date: | rkeene on 2016-12-09 05:22:33 |
Other Links: | manifest | tags |
Context
2016-12-09
| ||
05:23 | tcc4tcl 0.27 check-in: 2a3cb3f447 user: rkeene tags: trunk, 0.27 | |
05:22 | Updated with a better check for -Wno-unused-result for TCC check-in: 7cda94da9b user: rkeene tags: trunk | |
04:36 | Updated configure system to latest version of macros check-in: a72b70810b user: rkeene tags: trunk | |
Changes
Modified Makefile.in from [7c5884e932] to [24f224ef33].
︙ | ︙ | |||
109 110 111 112 113 114 115 | rm -f TEST-STATUS -$(MAKE) -C tcc distclean distclean: clean rm -rf autom4te.cache rm -f config.log config.status rm -f pkgIndex.tcl tcc4tcl.syms | | | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | rm -f TEST-STATUS -$(MAKE) -C tcc distclean distclean: clean rm -rf autom4te.cache rm -f config.log config.status rm -f pkgIndex.tcl tcc4tcl.syms rm -f Makefile tcc/Makefile mrproper: distclean rm -rf tcc rm -f configure aclocal.m4 rm -f config.guess config.sub install-sh .PHONY: all install test clean distclean mrproper |
Modified build/pre.sh from [90dbaeeee6] to [8826309083].
︙ | ︙ | |||
40 41 42 43 44 45 46 47 48 49 | rm -f "tcc-${tcc_version}.tar.bz2" ## Apply patches for patchfile in ../build/tcc-patches/${tcc_version}/*.diff; do ( cd * && patch --no-backup-if-mismatch -p1 ) < "${patchfile}" done rm -rf ../tcc mkdir ../tcc || exit 1 mv */* ../tcc/ | > > > | | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | rm -f "tcc-${tcc_version}.tar.bz2" ## Apply patches for patchfile in ../build/tcc-patches/${tcc_version}/*.diff; do ( cd * && patch --no-backup-if-mismatch -p1 ) < "${patchfile}" done ## Rename "Makefile" to "Makefile.in" so configure processes it ( cd * && mv Makefile Makefile.in ) || exit 1 rm -rf ../tcc mkdir ../tcc || exit 1 mv */* ../tcc/ ) || exit 1 rm -rf __TMP__ |
Added build/tcc-patches/0.9.26/tcc-0.9.26-fixmakefile.diff version [59f2a002dd].
> > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 | diff -uNr tcc-0.9.26.orig/Makefile tcc-0.9.26-fixmakefile/Makefile --- tcc-0.9.26.orig/Makefile 2013-02-15 08:24:00.000000000 -0600 +++ tcc-0.9.26-fixmakefile/Makefile 2016-12-08 23:20:32.856086001 -0600 @@ -16,7 +16,7 @@ ifeq (-$(GCC_MAJOR)-$(findstring $(GCC_MINOR),56789)-,-4--) CFLAGS+=-D_FORTIFY_SOURCE=0 else -CFLAGS+=-Wno-unused-result +CFLAGS+=@TCC_WNO_UNUSED_RESULT@ endif endif endif |
Modified configure.ac from [1f51af3ae0] to [d3ecbe92bf].
︙ | ︙ | |||
64 65 66 67 68 69 70 71 72 73 74 75 76 77 | no_dlopen='0' fi ]) if test "$no_dlopen" = '1'; then CPPFLAGS="${CPPFLAGS} -DCONFIG_TCC_STATIC_NODLOPEN=1" fi dnl Determine HOST_PATH_SEPERATOR case $host_os in *mingw*) HOST_PATH_SEPARATOR=';' ;; *) | > > > > > > > > > > > > > > > > > > > | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | no_dlopen='0' fi ]) if test "$no_dlopen" = '1'; then CPPFLAGS="${CPPFLAGS} -DCONFIG_TCC_STATIC_NODLOPEN=1" fi dnl Determine if the compiler supports -Wno-unused-result AC_CACHE_CHECK([if compiler supports -Wno-unused-result], [tcc4tcl_cv_compiler_wno_unused_result], [ SAVE_CFLAGS="${CFLAGS}" CFLAGS="${SAVE_CFLAGS} -Wno-unused-result" AC_COMPILE_IFELSE([AC_LANG_SOURCE()], [ tcc4tcl_cv_compiler_wno_unused_result='yes' ], [ tcc4tcl_cv_compiler_wno_unused_result='no' ]) CFLAGS="${SAVE_CFLAGS}" ]) if test "$tcc4tcl_cv_compiler_wno_unused_result" = 'yes'; then TCC_WNO_UNUSED_RESULT='-Wno-unused-result' else TCC_WNO_UNUSED_RESULT='-Wno-unused-result' fi AC_SUBST(TCC_WNO_UNUSED_RESULT) dnl Determine HOST_PATH_SEPERATOR case $host_os in *mingw*) HOST_PATH_SEPARATOR=';' ;; *) |
︙ | ︙ | |||
85 86 87 88 89 90 91 | dnl This must be done last since it breaks the compilation if test "${TCC4TCL_TARGET}" = "shared"; then DC_SETUP_STABLE_API([${srcdir}/tcc4tcl.vers], [tcc4tcl.syms]) fi dnl Produce output | | | 104 105 106 107 108 109 110 111 | dnl This must be done last since it breaks the compilation if test "${TCC4TCL_TARGET}" = "shared"; then DC_SETUP_STABLE_API([${srcdir}/tcc4tcl.vers], [tcc4tcl.syms]) fi dnl Produce output AC_OUTPUT(Makefile pkgIndex.tcl tcc4tcl.syms tcc/Makefile) |