mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
fix cxxflags overrided by cflags in configure.ac bundled tree.hh could be updated but c++14 is required anyway by libxmlpp:2.6 filter-lto (ODR) Closes: https://bugs.gentoo.org/967003 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://codeberg.org/gentoo/gentoo/pulls/155 Merges: https://codeberg.org/gentoo/gentoo/pulls/155 Signed-off-by: Sam James <sam@gentoo.org>
16 lines
629 B
Diff
16 lines
629 B
Diff
See PR pending https://github.com/libofx/libofx/pull/104.patch
|
|
fix typo(?) CFLAGS -> CXXFLAGS
|
|
This prevents the addition of C flags not compatible with CXX
|
|
Fix bug 967003 where -std=c++14 is overrided by CFLAGS
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -45,7 +45,7 @@ then
|
|
[Define if GCC visibility extensions are supported])
|
|
VISIBILITY_FLAGS="-fvisibility=hidden"
|
|
CFLAGS="$VISIBILITY_FLAGS $CFLAGS"
|
|
- CXXFLAGS="$VISIBILITY_FLAGS -fvisibility-inlines-hidden $CFLAGS"
|
|
+ CXXFLAGS="$VISIBILITY_FLAGS -fvisibility-inlines-hidden $CXXFLAGS"
|
|
fi
|
|
|
|
## Pass -DIN_LIBOFX to the compiler so we can detect it and include config.h
|