move some gcc configure options from Makefile to config

there is no reason to hard-code --disable-libquadmath or
--disable-decimal-float; some users may want these features.
This commit is contained in:
Rich Felker 2015-11-10 00:02:34 +00:00
parent 0b1f5d1197
commit 6c4e6003f9
2 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,7 @@ COMMON_CONFIG = --disable-werror \
BINUTILS_CONFIG = $(COMMON_CONFIG) BINUTILS_CONFIG = $(COMMON_CONFIG)
GCC_CONFIG = $(COMMON_CONFIG) --enable-tls \ GCC_CONFIG = $(COMMON_CONFIG) --enable-tls \
--disable-libmudflap --disable-libsanitizer \ --disable-libmudflap --disable-libsanitizer
--disable-libquadmath --disable-decimal-float
GCC0_VARS = CFLAGS="-O0 -g0" CXXFLAGS="-O0 -g0" GCC0_VARS = CFLAGS="-O0 -g0" CXXFLAGS="-O0 -g0"
GCC0_CONFIG = $(GCC_CONFIG) \ GCC0_CONFIG = $(GCC_CONFIG) \

View File

@ -9,6 +9,7 @@ GCC_VER = 5.2.0
# COMMON_CONFIG += --disable-nls # COMMON_CONFIG += --disable-nls
# COMMON_CONFIG += MAKEINFO=/bin/false # COMMON_CONFIG += MAKEINFO=/bin/false
# GCC_CONFIG += --enable-languages=c,c++,lto # GCC_CONFIG += --enable-languages=c,c++,lto
# GCC_CONFIG += --disable-libquadmath --disable-decimal-float
# GCC_CONFIG += --disable-multilib # GCC_CONFIG += --disable-multilib
# J2/SH2 specific options # J2/SH2 specific options