From 6c4e6003f9fc31c9ccce042331e8d20a1f58d337 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 10 Nov 2015 00:02:34 +0000 Subject: [PATCH] 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. --- Makefile | 3 +-- config.mak.dist | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 52a055b..4970089 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,7 @@ COMMON_CONFIG = --disable-werror \ BINUTILS_CONFIG = $(COMMON_CONFIG) GCC_CONFIG = $(COMMON_CONFIG) --enable-tls \ - --disable-libmudflap --disable-libsanitizer \ - --disable-libquadmath --disable-decimal-float + --disable-libmudflap --disable-libsanitizer GCC0_VARS = CFLAGS="-O0 -g0" CXXFLAGS="-O0 -g0" GCC0_CONFIG = $(GCC_CONFIG) \ diff --git a/config.mak.dist b/config.mak.dist index 50be282..6a85bc8 100644 --- a/config.mak.dist +++ b/config.mak.dist @@ -9,6 +9,7 @@ GCC_VER = 5.2.0 # COMMON_CONFIG += --disable-nls # COMMON_CONFIG += MAKEINFO=/bin/false # GCC_CONFIG += --enable-languages=c,c++,lto +# GCC_CONFIG += --disable-libquadmath --disable-decimal-float # GCC_CONFIG += --disable-multilib # J2/SH2 specific options