Browse Source

configure: Parse all compiler related flags together.

adaptive-webui-19844
sledgehammer999 7 years ago
parent
commit
e6ce1dd0b0
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 3
      configure
  2. 3
      configure.ac

3
configure vendored

@ -5515,9 +5515,8 @@ extract() {
IFS=$SAVEIFS IFS=$SAVEIFS
} }
extract $CPPFLAGS extract "$CFLAGS $CPPFLAGS $CXXFLAGS"
QBT_ADD_DEFINES="$QBT_ADD_DEFINES $QBT_CONF_DEFINES" QBT_ADD_DEFINES="$QBT_ADD_DEFINES $QBT_CONF_DEFINES"
QBT_CONF_EXTRA_CFLAGS="$QBT_CONF_EXTRA_CFLAGS $CXXFLAGS"
# Substitute the values of these vars in conf.pri.in # Substitute the values of these vars in conf.pri.in

3
configure.ac

@ -204,9 +204,8 @@ extract() {
IFS=$SAVEIFS IFS=$SAVEIFS
} }
extract $CPPFLAGS extract "$CFLAGS $CPPFLAGS $CXXFLAGS"
QBT_ADD_DEFINES="$QBT_ADD_DEFINES $QBT_CONF_DEFINES" QBT_ADD_DEFINES="$QBT_ADD_DEFINES $QBT_CONF_DEFINES"
QBT_CONF_EXTRA_CFLAGS="$QBT_CONF_EXTRA_CFLAGS $CXXFLAGS"
# Substitute the values of these vars in conf.pri.in # Substitute the values of these vars in conf.pri.in
AC_SUBST(QBT_CONF_INCLUDES) AC_SUBST(QBT_CONF_INCLUDES)

Loading…
Cancel
Save