зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1261263 - Remove -fgnu89-inline. r=froydnj
It seems the reason why it was added back in bug 719659 is gone.
This commit is contained in:
Родитель
989453a94b
Коммит
2f27499d10
|
@ -733,14 +733,8 @@ dnl ========================================================
|
|||
dnl GNU specific defaults
|
||||
dnl ========================================================
|
||||
if test "$GNU_CC"; then
|
||||
# Per bug 719659 comment 2, some of the headers on ancient build machines
|
||||
# may require gnu89 inline semantics. But otherwise, we use C99.
|
||||
# But on OS X we just use C99 plus GNU extensions, in order to fix
|
||||
# bug 917526.
|
||||
# We use C99.
|
||||
CFLAGS="$CFLAGS -std=gnu99"
|
||||
if test "${OS_ARCH}" != Darwin; then
|
||||
CFLAGS="$CFLAGS -fgnu89-inline"
|
||||
fi
|
||||
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -Wl,-h,$(DSO_SONAME) -o $@'
|
||||
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -Wl,-h,$(DSO_SONAME) -o $@'
|
||||
DSO_LDOPTS='-shared'
|
||||
|
|
|
@ -928,14 +928,8 @@ if test "$GNU_CC"; then
|
|||
MMX_FLAGS="-mmmx"
|
||||
SSE_FLAGS="-msse"
|
||||
SSE2_FLAGS="-msse2"
|
||||
# Per bug 719659 comment 2, some of the headers on ancient build machines
|
||||
# may require gnu89 inline semantics. But otherwise, we use C99.
|
||||
# But on OS X we just use C99 plus GNU extensions, in order to fix
|
||||
# bug 917526.
|
||||
# We use C99.
|
||||
CFLAGS="$CFLAGS -std=gnu99"
|
||||
if test "${OS_ARCH}" != Darwin; then
|
||||
CFLAGS="$CFLAGS -fgnu89-inline"
|
||||
fi
|
||||
# FIXME: Let us build with strict aliasing. bug 414641.
|
||||
CFLAGS="$CFLAGS -fno-strict-aliasing"
|
||||
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -Wl,-h,$(DSO_SONAME) -o $@'
|
||||
|
|
Загрузка…
Ссылка в новой задаче