- add wxwindows CFLAGS and CXXFLAGS to the flags for all compiles, not
just the wxwindows ones. This is required on cygwin, for example, because the CFLAGS and CXXFLAGS include gcc flags that change code generation: -fno-pcc-struct-return and -fvtable-thunks. It is not safe to mix code compiled with these flags with code compiled without. I learned this the hard way when I found that sometimes code that called a virtual member function was jumping to the WRONG member function.
This commit is contained in:
parent
84080d26f1
commit
2a0f6ccedb
6133
bochs/configure
vendored
6133
bochs/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@ dnl // Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.50)
|
||||
AC_INIT(bochs.h)
|
||||
AC_REVISION([[$Id: configure.in,v 1.134 2002-09-26 18:23:34 bdenney Exp $]])
|
||||
AC_REVISION([[$Id: configure.in,v 1.135 2002-09-27 20:06:57 bdenney Exp $]])
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
dnl // Put Bochs version information right here so that it gets substituted
|
||||
@ -1409,6 +1409,8 @@ elif test "$with_wx" = yes; then
|
||||
WX_CXXFLAGS="$WX_CXXFLAGS \`gtk-config --cflags\`"
|
||||
fi
|
||||
# wxwindows is the only one without control.o in GUI_OBJS
|
||||
CFLAGS="$CFLAGS $WX_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS"
|
||||
GUI_OBJS='$(GUI_OBJS_WX)'
|
||||
GUI_LINK_OPTS='$(GUI_LINK_OPTS_WX)'
|
||||
# using debugger with readline is failing due to thread/signal handler
|
||||
|
Loading…
Reference in New Issue
Block a user