diff --git a/database/bdb/bdb-conf.in b/database/bdb/bdb-conf.in index ed2d32b13..47d35dc45 100644 --- a/database/bdb/bdb-conf.in +++ b/database/bdb/bdb-conf.in @@ -3,6 +3,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../bdb/bdb-conf.in +# Copyright (C) 2014 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -50,7 +51,11 @@ if [[ $pkg = *-java ]]; then var_append makeopt ' ' java else var_append confopt ' ' '--enable-compat185' - var_append confopt ' ' '--enable-cxx' + + # FIXME: no C++ compiler support when cross-compiling + if atstage native; then + var_append confopt ' ' '--enable-cxx' + fi # we need the install-sh here, since our gnu-install does not # handle the transform-name ...