diff options
| author | Nehal J Wani <nehaljw.kkd1@gmail.com> | 2017-12-31 06:52:33 -0600 |
|---|---|---|
| committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2018-01-04 11:14:46 -0800 |
| commit | 78a87e4a80e9bf379c0dc660374173ef394252f6 (patch) | |
| tree | 7d9e8e62018fe9c3b38274f2f212a777ccb62cb5 /include | |
| parent | 433c2edabc5c03ae069ac652857c05c673807d0c (diff) | |
| download | platform_external_jemalloc_new-78a87e4a80e9bf379c0dc660374173ef394252f6.tar.gz platform_external_jemalloc_new-78a87e4a80e9bf379c0dc660374173ef394252f6.tar.bz2 platform_external_jemalloc_new-78a87e4a80e9bf379c0dc660374173ef394252f6.zip | |
Make sure JE_CXXFLAGS_ADD uses CPP compiler
All the invocations of AC_COMPILE_IFELSE inside JE_CXXFLAGS_ADD were
running 'the compiler and compilation flags of the current language'
which was always the C compiler and the CXXFLAGS were never being tested
against a C++ compiler. This patch fixes this issue by temporarily
changing the chosen compiler to C++ by pushing it over the stack and
popping it immediately after the compilation check.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
