diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2016-05-01 11:18:08 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-05-01 22:34:56 +0200 |
commit | d3d6a99abcce69455ce6bc147ef9bd0eb390844e (patch) | |
tree | 3a16a7b38e9aa0e9131a0b910faaeda7fd4df176 /package/php-geoip/php-geoip.mk | |
parent | 69a30b2817cee6fa1a857f3e6950ace559d43830 (diff) | |
download | buildroot-d3d6a99abcce69455ce6bc147ef9bd0eb390844e.tar.gz buildroot-d3d6a99abcce69455ce6bc147ef9bd0eb390844e.zip |
fdk-aac: fix build with GCC 6
GCC 6 defaults to -std=gnu++14 instead of -std=gnu++98. The C++11 standard does
not allow "narrowing conversions" which is why building fdk-aac with GCC 6
fails:
libAACenc/src/aacEnc_rom.cpp:661:1: error: narrowing conversion of '2180108801u' from 'unsigned int' to 'FIXP_DBL {aka long int}' inside { } [-Wnarrowing]
Use '-std=gnu++98' as suggested by "Porting to GCC 6" [1].
[1] https://gcc.gnu.org/gcc-6/porting_to.html
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/php-geoip/php-geoip.mk')
0 files changed, 0 insertions, 0 deletions