File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,12 +113,12 @@ for target_arch in ${TARGET_ARCH_STR//,/ }; do
113113 esac
114114
115115 CFLAGS=" -O${OPT} -ffunction-sections -fdata-sections -fmerge-all-constants -fPIC"
116- CXXFLAGS=" -O ${OPT} -ffunction-sections -fdata-sections -fmerge-all-constants -fPIC "
116+ CXXFLAGS=" $CFLAGS "
117117 LDFLAGS=" -Wl,--gc-sections"
118118
119119 SYSROOT=" /opt/cross/O${OPT} "
120120 PREFIX=" $SYSROOT /usr"
121- PATH=" $ORIGPATH : $ PREFIX /bin"
121+ PATH=" $PREFIX /bin: $ORIGPATH "
122122
123123 GCC_NODOCS=" MAKEINFO=/bin/true gcc_cv_prog_makeinfo_modern=no HELP2MAN=/bin/true TEXI2POD=/bin/true POD2MAN=/bin/true"
124124
@@ -170,6 +170,7 @@ for target_arch in ${TARGET_ARCH_STR//,/ }; do
170170
171171 " $HOME " /pkgs/gcc-${GCC_VERSION} /configure \
172172 --target=$TARGET --prefix=$PREFIX --with-sysroot=$SYSROOT ${GCC_CONFIGURE_ARGS} \
173+ --with-gmp=/usr --with-mpfr=/usr --with-mpc=/usr \
173174 --disable-shared --enable-tls --disable-libstdcxx-pch --disable-multilib --disable-nls --disable-werror --disable-symvers \
174175 --enable-threads --enable-__cxa_atexit --enable-languages=c,c++ --enable-link-serialization=2 --enable-linker-build-id \
175176 --enable-libssp --disable-libsanitizer --with-system-zlib --enable-checking=release --disable-cet --disable-fixed-point \
You can’t perform that action at this time.
0 commit comments