]> Git Repo - secp256k1.git/commit
configure: Use CFLAGS_FOR_BUILD when checking native compiler
authorTim Ruffing <[email protected]>
Wed, 16 Jan 2019 16:12:38 +0000 (17:12 +0100)
committerTim Ruffing <[email protected]>
Sun, 10 Feb 2019 10:56:36 +0000 (11:56 +0100)
commit2d5f4cebdc2c342c0824bc3b789be75a60ddc532
tree1a5e29719e8e27146f758e78c6f587d74cb2fca2
parente34ceb333b1c0e6f4115ecbb80c632ac1042fa49
configure: Use CFLAGS_FOR_BUILD when checking native compiler

This fixes a bug where configure would fail or disable static
ecmult tables because it wrongly checks the native compiler using
the target CFLAGS (instead of the native CFLAGS_FOR_BUILD), and
similar for CPPFLAGS and LDFLAGS.

Moreover, this commit adds tests to figure out whether the native
compiler supports the warning flags passed during the build, and it
contains a few minor improvements to the code that checks the native
compiler.
Makefile.am
configure.ac
This page took 0.022399 seconds and 4 git commands to generate.