summaryrefslogtreecommitdiff
path: root/package/trousers/Config.in
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-16 09:23:51 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-16 09:26:43 +0100
commitd246cf5fd01bb0d20a0e64194ffed514ea8dd0aa (patch)
treefb77d67e81028c27062d218a153db01e2b2070f9 /package/trousers/Config.in
parentdd6893adad3693cd3440d0ced10e67b296a08c47 (diff)
libraw: fix build with old glibc versions
Prior to glibc 2.18, definitions like SIZE_MAX or INT_FAST32_MAX from <stdint.h> were only made available for C code, or in C++ if __STDC_LIMIT_MACROS was defined. The code from jasper uses such definitions, without defining __STDC_LIMIT_MACROS. Unfortunately, defining __STDC_LIMIT_MACROS in the jasper headers doesn't work, since <stdint.h> has already been included before, at a point where __STDC_LIMIT_MACROS was not defined. So to solve this problem, we simply pass -D__STDC_LIMIT_MACROS in CXXFLAGS when building libraw with jasper support. Fixes: http://autobuild.buildroot.net/results/908aef6c82d56060933713df217b6b2ba21a01b0/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/trousers/Config.in')
0 files changed, 0 insertions, 0 deletions