Mercurial > gnulib
view modules/non-recursive-gnulib-prefix-hack @ 40164:b973ad598121
Fix build error when building a shared libunistring on Android.
* tests/uninorm/test-nfc.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
* tests/uninorm/test-nfd.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
* tests/uninorm/test-nfkc.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
* tests/uninorm/test-nfkd.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 28 Jan 2019 21:14:08 +0100 |
parents | 3e01382fdb5b |
children |
line wrap: on
line source
Description: Adjust a gnulib-generated gnulib.mk file and configure script so that they are usable in a non-recursive make framework. Files: build-aux/prefix-gnulib-mk m4/non-recursive-gnulib-prefix-hack.m4 Depends-on: configure.ac: dnl Run our hack near the end, just before config.status creation. dnl It must happen late, i.e., after gl_LIBOBJS has been finalized. AC_CONFIG_COMMANDS_PRE([ dnl Note we can't currently pass $gl_source_base instead of 'lib', dnl because $gl_source_base is unset or the wrong value in the references dnl generated in m4/non-recursive-gnulib-prefix-hack.m4 gl_NON_RECURSIVE_GNULIB_PREFIX_HACK([lib]) ]) Makefile.am: Include: License: unlimited Maintainer: Jim Meyering