зеркало из https://github.com/mozilla/pjs.git
Undo hack that made -O and -g were mutually exclusive.
This commit is contained in:
Родитель
49a4e5af97
Коммит
bfdfbfb348
23
configure.in
23
configure.in
|
@ -1522,15 +1522,20 @@ CXXFLAGS=`echo \
|
||||||
$_DEFINES_CXXFLAGS \
|
$_DEFINES_CXXFLAGS \
|
||||||
$CXXFLAGS`
|
$CXXFLAGS`
|
||||||
|
|
||||||
# Clean out '-O' flags if doing a debug build.
|
dnl
|
||||||
if test "$MOZ_DEBUG"
|
dnl It is perfectly legal to build with both -O and -g even though
|
||||||
then
|
dnl some compilers/platforms might not support this.
|
||||||
changequote(,)dnl
|
dnl
|
||||||
CFLAGS=` echo $CFLAGS | sed 's/ *-O[^ ]*//g;'`
|
|
||||||
CXXFLAGS=`echo $CXXFLAGS | sed 's/ *-O[^ ]*//g;'`
|
dnl # Clean out '-O' flags if doing a debug build.
|
||||||
LDFLAGS=`echo $LDFLAGS | sed 's/ *-O[^ ]*//g;'`
|
dnl if test "$MOZ_DEBUG"
|
||||||
changequote([,])dnl
|
dnl then
|
||||||
fi
|
dnl changequote(,)dnl
|
||||||
|
dnl CFLAGS=` echo $CFLAGS | sed 's/ *-O[^ ]*//g;'`
|
||||||
|
dnl CXXFLAGS=`echo $CXXFLAGS | sed 's/ *-O[^ ]*//g;'`
|
||||||
|
dnl LDFLAGS=`echo $LDFLAGS | sed 's/ *-O[^ ]*//g;'`
|
||||||
|
dnl changequote([,])dnl
|
||||||
|
dnl fi
|
||||||
|
|
||||||
dnl Support for X11 makedepend, if found on the system
|
dnl Support for X11 makedepend, if found on the system
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
|
|
Загрузка…
Ссылка в новой задаче